CSS named color
DarkOrchid #9932CC
DarkOrchid is a purple with the hex code #9932CC, which converts to rgb(153, 50, 204). Open #9932CC in the converter to tweak it.
DarkOrchid color values
| HEX | #9932CC |
|---|---|
| HEX (shorthand) | — |
| RGB | rgb(153, 50, 204) |
| RGBA | rgba(153, 50, 204, 1) |
| 8-digit HEX | #9932CCFF |
| HSL | hsl(280, 61%, 50%) |
| HSV / HSB | 280°, 75%, 80% |
| CMYK | 25%, 75%, 0%, 20% |
| RGB 0–1 | 0.6, 0.196, 0.8 |
| Decimal | 10040012 |
| CSS keyword | darkorchid |
How #9932CC converts to RGB
Split the hex code into three pairs and read each pair as a base-16 number: 99 → 153, 32 → 50, CC → 204. That gives rgb(153, 50, 204). The step-by-step guide explains the math.
Shades of DarkOrchid
Mixed toward black in 10% steps. Click a swatch to copy its hex.
Tints of DarkOrchid
Mixed toward white in 10% steps.
Color harmonies
Hue rotations of DarkOrchid on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.
Complementary
Analogous
Split-complementary
Triadic
Tetradic (square)
Contrast and accessibility
| Text | Background | Ratio | WCAG 2.x |
|---|---|---|---|
| White | DarkOrchid | 5.70:1 | AA |
| Black | DarkOrchid | 3.68:1 | AA Large only |
Use white text on a darkorchid background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.
Use DarkOrchid in CSS
.element {
color: darkorchid; /* keyword */
background-color: #9932CC; /* hex */
border-color: rgb(153 50 204 / 50%); /* 50% transparent */
}
Need it semi-transparent? Append an alpha byte: #9932CC80 is DarkOrchid at 50% opacity. See RGBA & transparency.
Similar named colors
FAQ
What is the HEX code for DarkOrchid?
The CSS named color darkorchid is #9932CC in hexadecimal. In CSS you can write color: darkorchid; or color: #9932CC; — both produce the same pixel.
What is DarkOrchid in RGB?
DarkOrchid is rgb(153, 50, 204): red 153, green 50, blue 204 on the 0–255 scale. As normalized 0–1 floats that is (0.6, 0.196, 0.8).
Is white or black text more readable on DarkOrchid?
White text is more readable. White on #9932CC has a contrast ratio of 5.70:1 (AA), black on #9932CC has 3.68:1 (AA Large only). WCAG AA needs 4.5:1 for normal text.