#2E10B2#2E10B2
#2E10B2 is a dark, highly saturated violet. Relative luminance 0.042; OKLCH L 37.3% C 0.223 H 275.1°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2E10B2 |
|---|---|
| RGB | rgb(46, 16, 178) |
| HSL | hsl(251, 84%, 38%) |
| HSV | hsv(251, 91%, 70%) |
| CMYK | cmyk(74.2%, 91%, 0%, 30.2%) |
| CIE-LAB | lab(24.21, 57.46, -76.75) |
| CIE-LCH | lch(24.21, 95.87, 306.82°) |
| OKLab | oklab(37.31% 0.0197 -0.2217) |
| OKLCH | oklch(37.31% 0.223 275.1) |
| XYZ | xyz(9.3452, 4.1648, 42.4222) |
| Luminance | 0.0417 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.52
Ultramarine
#2000B1
ΔE00 1.86
Royal Blue (survey)
#0504AA
ΔE00 3.00
Cobalt Blue
#030AA7
ΔE00 3.09
True Blue
#010FCC
ΔE00 3.25
Mediumblue
#0000CD
ΔE00 3.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E10B2 #94B210
analogous
#1043B2 #2E10B2 #7F10B2
triadic
#2E10B2 #B22E10 #10B22E
tetradic
#2E10B2 #B21043 #94B210 #10B27F
square
#2E10B2 #B21043 #94B210 #10B27F
split-complementary
#2E10B2 #B27F10 #43B210
monochromatic
#110642 #1F0B7A #2E10B2 #3D15EA #6B4DEF
Accessibility & contrast
On white
11.46
#2E10B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2E10B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E10B2
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E10B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E10B2 | 1.00 | 11.46 | 1.83 | 11.46 |
| #FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040B6
Deuteranopia (green-blind)
#0032AF
Tritanopia (blue-blind)
#004A68
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2e10b2; /* rgb */ color: rgb(46, 16, 178); /* oklch */ color: oklch(37.3% 0.223 275.1);
Tailwind
colors: {
custom: {
50: '#7e59cb',
500: '#2e10b2',
950: '#000000',
},
}SCSS
$custom: #2e10b2; $custom-light: #7e59cb; $custom-dark: #000000;
JSON
{
"hex": "#2e10b2",
"rgb": {
"r": 46,
"g": 16,
"b": 178
},
"hsl": {
"h": 251.111,
"s": 83.505,
"l": 38.039
},
"oklch": {
"l": 0.37307,
"c": 0.22254,
"h": 275.1
},
"luminance": 0.04166
}Semantic roles & 50–950 ramp
primary
#2E10B2
secondary
#B8D04D
accent
#FA2ED4
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0413
muted
#7D7982