#2F1963#2F1963
#2F1963 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.122 H 290.5°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1963 |
|---|---|
| RGB | rgb(47, 25, 99) |
| HSL | hsl(258, 60%, 24%) |
| HSV | hsv(258, 75%, 39%) |
| CMYK | cmyk(52.5%, 74.7%, 0%, 61.2%) |
| CIE-LAB | lab(16.51, 30.43, -39.92) |
| CIE-LCH | lch(16.51, 50.20, 307.32°) |
| OKLab | oklab(29.36% 0.0427 -0.1145) |
| OKLCH | oklch(29.36% 0.122 290.5) |
| XYZ | xyz(3.7714, 2.2003, 12.0279) |
| Luminance | 0.0220 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 4.24
Midnight Blue
#191970
ΔE00 4.43
Darkblue (survey)
#030764
ΔE00 6.16
Dark Royal Blue
#02066F
ΔE00 6.64
Indigo (survey)
#380282
ΔE00 6.76
Dark Blue
#00035B
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1963 #4D6319
analogous
#192863 #2F1963 #541963
triadic
#2F1963 #632F19 #19632F
tetradic
#2F1963 #631928 #4D6319 #196354
square
#2F1963 #631928 #4D6319 #196354
split-complementary
#2F1963 #635419 #286319
monochromatic
#0C0618 #180D32 #2F1963 #462594 #5D32C5
Accessibility & contrast
On white
14.58
#2F1963 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#2F1963 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1963
14.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1963 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1963 | 1.00 | 14.58 | 1.44 | 14.58 |
| #FFFFFF | 14.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#1E2C3C
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #2f1963; /* rgb */ color: rgb(47, 25, 99); /* oklch */ color: oklch(29.4% 0.122 290.5);
Tailwind
colors: {
custom: {
50: '#6d5890',
500: '#2f1963',
950: '#000000',
},
}SCSS
$custom: #2f1963; $custom-light: #6d5890; $custom-dark: #000000;
JSON
{
"hex": "#2f1963",
"rgb": {
"r": 47,
"g": 25,
"b": 99
},
"hsl": {
"h": 257.838,
"s": 59.677,
"l": 24.314
},
"oklch": {
"l": 0.2936,
"c": 0.12224,
"h": 290.5
},
"luminance": 0.022
}Semantic roles & 50–950 ramp
primary
#2F1963
secondary
#7E993F
accent
#E345B4
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030D
muted
#7A787D