#2F0F53#2F0F53
#2F0F53 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.115 H 299.8°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2F0F53 |
|---|---|
| RGB | rgb(47, 15, 83) |
| HSL | hsl(268, 69%, 19%) |
| HSV | hsv(268, 82%, 33%) |
| CMYK | cmyk(43.4%, 81.9%, 0%, 67.5%) |
| CIE-LAB | lab(13.05, 31.10, -34.83) |
| CIE-LCH | lch(13.05, 46.69, 311.77°) |
| OKLab | oklab(26.45% 0.057 -0.0995) |
| OKLCH | oklch(26.45% 0.115 299.8) |
| XYZ | xyz(2.9041, 1.5705, 8.3321) |
| Luminance | 0.0157 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 3.38
Dark Violet
#34013F
ΔE00 5.70
Dark Purple
#35063E
ΔE00 6.01
Deep Purple
#36013F
ΔE00 6.04
Midnight Purple
#280137
ΔE00 6.05
Royal Purple (survey)
#4B006E
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F0F53 #33530F
analogous
#0F1153 #2F0F53 #510F53
triadic
#2F0F53 #532F0F #0F532F
tetradic
#2F0F53 #530F11 #33530F #0F5351
square
#2F0F53 #530F11 #33530F #0F5351
split-complementary
#2F0F53 #53510F #11530F
monochromatic
#0F051A #12061F #2F0F53 #4C1887 #6A22BB
Accessibility & contrast
On white
15.98
#2F0F53 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.31
#2F0F53 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F0F53
15.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F0F53 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F0F53 | 1.00 | 15.98 | 1.31 | 15.98 |
| #FFFFFF | 15.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002155
Deuteranopia (green-blind)
#002152
Tritanopia (blue-blind)
#272130
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #2f0f53; /* rgb */ color: rgb(47, 15, 83); /* oklch */ color: oklch(26.4% 0.115 299.8);
Tailwind
colors: {
custom: {
50: '#6c5184',
500: '#2f0f53',
950: '#000000',
},
}SCSS
$custom: #2f0f53; $custom-light: #6c5184; $custom-dark: #000000;
JSON
{
"hex": "#2f0f53",
"rgb": {
"r": 47,
"g": 15,
"b": 83
},
"hsl": {
"h": 268.235,
"s": 69.388,
"l": 19.216
},
"oklch": {
"l": 0.26445,
"c": 0.11468,
"h": 299.8
},
"luminance": 0.01571
}Semantic roles & 50–950 ramp
primary
#2F0F53
secondary
#628D31
accent
#EC3C99
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C