#2F13A0#2F13A0
#2F13A0 is a dark, highly saturated violet. Relative luminance 0.036; OKLCH L 35.4% C 0.201 H 277.7°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2F13A0 |
|---|---|
| RGB | rgb(47, 19, 160) |
| HSL | hsl(252, 79%, 35%) |
| HSV | hsv(252, 88%, 63%) |
| CMYK | cmyk(70.6%, 88.1%, 0%, 37.3%) |
| CIE-LAB | lab(22.33, 51.59, -68.99) |
| CIE-LCH | lch(22.33, 86.14, 306.79°) |
| OKLab | oklab(35.41% 0.0268 -0.1992) |
| OKLCH | oklch(35.41% 0.201 277.7) |
| XYZ | xyz(7.7483, 3.6074, 33.5389) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.67
Ultramarine
#2000B1
ΔE00 2.72
Indigo Blue
#3A18B1
ΔE00 2.84
Royal Blue (survey)
#0504AA
ΔE00 2.88
Royal
#0C1793
ΔE00 3.42
Indigo (survey)
#380282
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F13A0 #84A013
analogous
#133DA0 #2F13A0 #7613A0
triadic
#2F13A0 #A02F13 #13A02F
tetradic
#2F13A0 #A0133D #84A013 #13A076
square
#2F13A0 #A0133D #84A013 #13A076
split-complementary
#2F13A0 #A07613 #3DA013
monochromatic
#0F0633 #1F0D69 #2F13A0 #3F19D7 #6545E9
Accessibility & contrast
On white
12.20
#2F13A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#2F13A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F13A0
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F13A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F13A0 | 1.00 | 12.20 | 1.72 | 12.20 |
| #FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA4
Deuteranopia (green-blind)
#00309E
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2f13a0; /* rgb */ color: rgb(47, 19, 160); /* oklch */ color: oklch(35.4% 0.201 277.7);
Tailwind
colors: {
custom: {
50: '#7a59be',
500: '#2f13a0',
950: '#000000',
},
}SCSS
$custom: #2f13a0; $custom-light: #7a59be; $custom-dark: #000000;
JSON
{
"hex": "#2f13a0",
"rgb": {
"r": 47,
"g": 19,
"b": 160
},
"hsl": {
"h": 251.915,
"s": 78.771,
"l": 35.098
},
"oklch": {
"l": 0.35406,
"c": 0.20101,
"h": 277.7
},
"luminance": 0.03608
}Semantic roles & 50–950 ramp
primary
#2F13A0
secondary
#AFC945
accent
#F533CF
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981