#2F1A63#2F1A63
#2F1A63 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.121 H 290.2°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1A63 |
|---|---|
| RGB | rgb(47, 26, 99) |
| HSL | hsl(257, 58%, 25%) |
| HSV | hsv(257, 74%, 39%) |
| CMYK | cmyk(52.5%, 73.7%, 0%, 61.2%) |
| CIE-LAB | lab(16.72, 29.84, -39.57) |
| CIE-LCH | lch(16.72, 49.56, 307.02°) |
| OKLab | oklab(29.51% 0.0417 -0.1135) |
| OKLCH | oklch(29.51% 0.121 290.2) |
| XYZ | xyz(3.7932, 2.2438, 12.0352) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 4.41
Midnight Blue
#191970
ΔE00 4.44
Darkblue (survey)
#030764
ΔE00 6.32
Dark Royal Blue
#02066F
ΔE00 6.80
Indigo (survey)
#380282
ΔE00 6.94
Dark Blue
#00035B
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1A63 #4E631A
analogous
#1A2A63 #2F1A63 #541A63
triadic
#2F1A63 #632F1A #1A632F
tetradic
#2F1A63 #631A2A #4E631A #1A6354
square
#2F1A63 #631A2A #4E631A #1A6354
split-complementary
#2F1A63 #63541A #2A631A
monochromatic
#0C0618 #180D33 #2F1A63 #462793 #5D33C4
Accessibility & contrast
On white
14.49
#2F1A63 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#2F1A63 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1A63
14.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1A63 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1A63 | 1.00 | 14.49 | 1.45 | 14.49 |
| #FFFFFF | 14.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#002862
Tritanopia (blue-blind)
#1D2D3C
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #2f1a63; /* rgb */ color: rgb(47, 26, 99); /* oklch */ color: oklch(29.5% 0.121 290.2);
Tailwind
colors: {
custom: {
50: '#6d5890',
500: '#2f1a63',
950: '#000000',
},
}SCSS
$custom: #2f1a63; $custom-light: #6d5890; $custom-dark: #000000;
JSON
{
"hex": "#2f1a63",
"rgb": {
"r": 47,
"g": 26,
"b": 99
},
"hsl": {
"h": 257.26,
"s": 58.4,
"l": 24.51
},
"oklch": {
"l": 0.29512,
"c": 0.12093,
"h": 290.2
},
"luminance": 0.02244
}Semantic roles & 50–950 ramp
primary
#2F1A63
secondary
#7F9940
accent
#E246B5
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030D
muted
#7A787D