#2F1653#2F1653
#2F1653 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.4% C 0.105 H 297.8°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1653 |
|---|---|
| RGB | rgb(47, 22, 83) |
| HSL | hsl(265, 58%, 21%) |
| HSV | hsv(265, 73%, 33%) |
| CMYK | cmyk(43.4%, 73.5%, 0%, 67.5%) |
| CIE-LAB | lab(14.42, 27.27, -32.60) |
| CIE-LCH | lch(14.42, 42.50, 309.91°) |
| OKLab | oklab(27.42% 0.0491 -0.093) |
| OKLCH | oklch(27.42% 0.105 297.8) |
| XYZ | xyz(3.0201, 1.8026, 8.3708) |
| Luminance | 0.0180 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 4.29
Dark Purple
#35063E
ΔE00 6.49
Dark Violet
#34013F
ΔE00 6.53
Midnight Purple
#280137
ΔE00 6.69
Deep Purple
#36013F
ΔE00 6.83
Night Blue
#040348
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1653 #3A5316
analogous
#161B53 #2F1653 #4D1653
triadic
#2F1653 #532F16 #16532F
tetradic
#2F1653 #53161B #3A5316 #16534D
square
#2F1653 #53161B #3A5316 #16534D
split-complementary
#2F1653 #534D16 #1B5316
monochromatic
#0E0618 #140923 #2F1653 #4A2383 #6630B4
Accessibility & contrast
On white
15.43
#2F1653 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.36
#2F1653 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1653
15.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1653 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1653 | 1.00 | 15.43 | 1.36 | 15.43 |
| #FFFFFF | 15.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#002452
Tritanopia (blue-blind)
#262432
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #2f1653; /* rgb */ color: rgb(47, 22, 83); /* oklch */ color: oklch(27.4% 0.105 297.8);
Tailwind
colors: {
custom: {
50: '#6b5584',
500: '#2f1653',
950: '#000000',
},
}SCSS
$custom: #2f1653; $custom-light: #6b5584; $custom-dark: #000000;
JSON
{
"hex": "#2f1653",
"rgb": {
"r": 47,
"g": 22,
"b": 83
},
"hsl": {
"h": 264.59,
"s": 58.095,
"l": 20.588
},
"oklch": {
"l": 0.27415,
"c": 0.10519,
"h": 297.8
},
"luminance": 0.01803
}Semantic roles & 50–950 ramp
primary
#2F1653
secondary
#6A8A3A
accent
#E146A2
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#07030B
muted
#7A787C