#2D119F#2D119F
#2D119F is a dark, highly saturated violet. Relative luminance 0.035; OKLCH L 35.0% C 0.202 H 277.0°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2D119F |
|---|---|
| RGB | rgb(45, 17, 159) |
| HSL | hsl(252, 81%, 35%) |
| HSV | hsv(252, 89%, 62%) |
| CMYK | cmyk(71.7%, 89.3%, 0%, 37.6%) |
| CIE-LAB | lab(21.80, 51.88, -69.25) |
| CIE-LCH | lch(21.80, 86.53, 306.84°) |
| OKLab | oklab(34.97% 0.0247 -0.2) |
| OKLCH | oklch(34.97% 0.202 277) |
| XYZ | xyz(7.5386, 3.4613, 33.0650) |
| Luminance | 0.0346 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.44
Ultramarine
#2000B1
ΔE00 2.63
Royal Blue (survey)
#0504AA
ΔE00 2.64
Indigo Blue
#3A18B1
ΔE00 3.16
Royal
#0C1793
ΔE00 3.25
Darkblue
#00008B
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D119F #839F11
analogous
#113C9F #2D119F #74119F
triadic
#2D119F #9F2D11 #119F2D
tetradic
#2D119F #9F113C #839F11 #119F74
square
#2D119F #9F113C #839F11 #119F74
split-complementary
#2D119F #9F7411 #3C9F11
monochromatic
#0E0530 #1D0B68 #2D119F #3D17D6 #6240EB
Accessibility & contrast
On white
12.41
#2D119F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2D119F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D119F
12.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D119F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D119F | 1.00 | 12.41 | 1.69 | 12.41 |
| #FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002E9D
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2d119f; /* rgb */ color: rgb(45, 17, 159); /* oklch */ color: oklch(35.0% 0.202 277.0);
Tailwind
colors: {
custom: {
50: '#7a58bd',
500: '#2d119f',
950: '#000000',
},
}SCSS
$custom: #2d119f; $custom-light: #7a58bd; $custom-dark: #000000;
JSON
{
"hex": "#2d119f",
"rgb": {
"r": 45,
"g": 17,
"b": 159
},
"hsl": {
"h": 251.831,
"s": 80.682,
"l": 34.51
},
"oklch": {
"l": 0.34972,
"c": 0.2015,
"h": 277
},
"luminance": 0.03462
}Semantic roles & 50–950 ramp
primary
#2D119F
secondary
#AFCA42
accent
#F731D0
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981