#640BBD
A color in the Violet family
#640bbd is a color in the Violet family: RGB(100, 11, 189), HSL(270°, 89%, 39%), CMYK(47%, 94%, 0%, 26%). Closest named color: darkviolet. Contrast is 9.03:1 on white and 2.32:1 on black. See shades, harmonies and color-blindness simulation.
Color Codes
| HEX | #640bbd |
|---|---|
| RGB | rgb(100 11 189) |
| RGB (legacy) | rgb(100, 11, 189) |
| RGB % | rgb(39% 4% 74%) |
| HSL | hsl(270 89% 39%) |
| HSV / HSB | hsv(270, 94%, 74%) |
| HWB | hwb(270 4% 26%) |
| CMYK | cmyk(47%, 94%, 0%, 26%) |
| CIELAB (D50) | lab(29.81 58.69 -73.47) |
| LCH | lch(29.81 94.04 308.62) |
| OKLab | oklab(0.4355 0.103 -0.2065) |
| OKLCH | oklch(0.4355 0.2308 296.51) |
| Decimal | 6556605 |
Properties
| Color Tone | Violet |
|---|---|
| Closest named color | darkviolet ΔE 10.2 |
| Closest web-safe color | #6600cc |
| Hue | 270° |
| Saturation (HSL / HSV) | 89% / 94% |
| Lightness (HSL) | 39% |
| Brightness or Value (HSV) | 74% |
| Luminance (Rec.601 / Rec.709) | 23% / 17% |
| Relative luminance (WCAG) | 0.0662 |
| Red / Green / Blue | 100 / 11 / 189 |
WCAG 2.2 Contrast Ratio
On White (#ffffff)
9.03:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.32:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123
APCA Contrast Lc (reference) — As text on white / black: Lc 88.8 / -13.4 · As background with white / black text: Lc -93.4 / 15.2
Lightness Scale (OKLCH 50–950)
Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.
Tints (mixed with white)
Shades (mixed with black)
Color Harmonies
Complementary
Split Complementary
Analogous
Color Vision Deficiency Simulation
Estimated appearance of this color for people with color vision deficiencies (Machado 2009).
Similar Named Colors
Use in CSS
:root {
--color-brand: #640bbd;
--color-brand-oklch: oklch(43.55% 0.2308 296.51);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(100 11 189 / 50%); }
/* Tailwind CSS */
<div class="bg-[#640bbd] text-[#640bbd] border-[#640bbd]">