#2F1753#2F1753
#2F1753 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.6% C 0.104 H 297.5°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1753 |
|---|---|
| RGB | rgb(47, 23, 83) |
| HSL | hsl(264, 57%, 21%) |
| HSV | hsv(264, 72%, 33%) |
| CMYK | cmyk(43.4%, 72.3%, 0%, 67.5%) |
| CIE-LAB | lab(14.63, 26.67, -32.25) |
| CIE-LCH | lch(14.63, 41.85, 309.59°) |
| OKLab | oklab(27.57% 0.0479 -0.092) |
| OKLCH | oklch(27.57% 0.104 297.5) |
| XYZ | xyz(3.0396, 1.8416, 8.3773) |
| Luminance | 0.0184 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 4.49
Dark Purple
#35063E
ΔE00 6.61
Dark Violet
#34013F
ΔE00 6.70
Midnight Purple
#280137
ΔE00 6.83
Deep Purple
#36013F
ΔE00 6.99
Night Blue
#040348
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1753 #3B5317
analogous
#171D53 #2F1753 #4D1753
triadic
#2F1753 #532F17 #17532F
tetradic
#2F1753 #53171D #3B5317 #17534D
square
#2F1753 #53171D #3B5317 #17534D
split-complementary
#2F1753 #534D17 #1D5317
monochromatic
#0E0718 #140A23 #2F1753 #4A2483 #6532B3
Accessibility & contrast
On white
15.35
#2F1753 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#2F1753 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1753
15.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1753 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1753 | 1.00 | 15.35 | 1.37 | 15.35 |
| #FFFFFF | 15.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#002452
Tritanopia (blue-blind)
#262532
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #2f1753; /* rgb */ color: rgb(47, 23, 83); /* oklch */ color: oklch(27.6% 0.104 297.5);
Tailwind
colors: {
custom: {
50: '#6b5684',
500: '#2f1753',
950: '#000000',
},
}SCSS
$custom: #2f1753; $custom-light: #6b5684; $custom-dark: #000000;
JSON
{
"hex": "#2f1753",
"rgb": {
"r": 47,
"g": 23,
"b": 83
},
"hsl": {
"h": 264,
"s": 56.604,
"l": 20.784
},
"oklch": {
"l": 0.27571,
"c": 0.10371,
"h": 297.5
},
"luminance": 0.01842
}Semantic roles & 50–950 ramp
primary
#2F1753
secondary
#6B8A3C
accent
#E048A3
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#07030B
muted
#7A787C