#2F1083#2F1083
#2F1083 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.7% C 0.170 H 283.2°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1083 |
|---|---|
| RGB | rgb(47, 16, 131) |
| HSL | hsl(256, 78%, 29%) |
| HSV | hsv(256, 88%, 51%) |
| CMYK | cmyk(64.1%, 87.8%, 0%, 48.6%) |
| CIE-LAB | lab(18.42, 44.47, -57.45) |
| CIE-LCH | lch(18.42, 72.65, 307.74°) |
| OKLab | oklab(31.73% 0.0389 -0.1656) |
| OKLCH | oklch(31.73% 0.17 283.2) |
| XYZ | xyz(5.4530, 2.6132, 21.6854) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.15
Royal
#0C1793
ΔE00 3.93
Darkblue
#00008B
ΔE00 4.03
Navy
#000080
ΔE00 4.25
Indigo
#4B0082
ΔE00 4.73
Midnight Blue
#191970
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1083 #648310
analogous
#102B83 #2F1083 #691083
triadic
#2F1083 #832F10 #10832F
tetradic
#2F1083 #83102B #648310 #108369
square
#2F1083 #83102B #648310 #108369
split-complementary
#2F1083 #836910 #2B8310
monochromatic
#0A031B #1B094C #2F1083 #4317BA #5B29E5
Accessibility & contrast
On white
13.79
#2F1083 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#2F1083 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1083
13.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1083 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1083 | 1.00 | 13.79 | 1.52 | 13.79 |
| #FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003086
Deuteranopia (green-blind)
#002981
Tritanopia (blue-blind)
#00354C
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #2f1083; /* rgb */ color: rgb(47, 16, 131); /* oklch */ color: oklch(31.7% 0.170 283.2);
Tailwind
colors: {
custom: {
50: '#7455a8',
500: '#2f1083',
950: '#000000',
},
}SCSS
$custom: #2f1083; $custom-light: #7455a8; $custom-dark: #000000;
JSON
{
"hex": "#2f1083",
"rgb": {
"r": 47,
"g": 16,
"b": 131
},
"hsl": {
"h": 256.174,
"s": 78.231,
"l": 28.824
},
"oklch": {
"l": 0.31725,
"c": 0.17015,
"h": 283.2
},
"luminance": 0.02614
}Semantic roles & 50–950 ramp
primary
#2F1083
secondary
#96B936
accent
#F533C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090310
muted
#7B787F