#2E01EC#2E01EC
#2E01EC is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 44.0% C 0.286 H 270.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2E01EC |
|---|---|
| RGB | rgb(46, 1, 236) |
| HSL | hsl(251, 99%, 46%) |
| HSV | hsv(251, 100%, 93%) |
| CMYK | cmyk(80.5%, 99.6%, 0%, 7.5%) |
| CIE-LAB | lab(31.01, 75.00, -99.24) |
| CIE-LCH | lch(31.01, 124.39, 307.08°) |
| OKLab | oklab(44% 0.0028 -0.2865) |
| OKLCH | oklch(44% 0.286 270.6) |
| XYZ | xyz(16.2728, 6.6568, 79.7679) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Strong Blue
#0C06F7
ΔE00 1.40
Primary Blue
#0804F9
ΔE00 1.53
Blue
#0000FF
ΔE00 2.02
Pure Blue
#0203E2
ΔE00 2.29
Ultramarine Blue
#1805DB
ΔE00 2.65
Rich Blue
#021BF9
ΔE00 2.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E01EC #BFEC01
analogous
#014AEC #2E01EC #A301EC
triadic
#2E01EC #EC2E01 #01EC2E
tetradic
#2E01EC #EC014A #BFEC01 #01ECA3
square
#2E01EC #EC014A #BFEC01 #01ECA3
split-complementary
#2E01EC #ECA301 #4AEC01
monochromatic
#160072 #2201AF #2E01EC #542CFE #8669FE
Accessibility & contrast
On white
9.01
#2E01EC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2E01EC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E01EC
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E01EC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E01EC | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053F1
Deuteranopia (green-blind)
#003EE9
Tritanopia (blue-blind)
#00628A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2e01ec; /* rgb */ color: rgb(46, 1, 236); /* oklch */ color: oklch(44.0% 0.286 270.6);
Tailwind
colors: {
custom: {
50: '#8c5df4',
500: '#2e01ec',
950: '#000000',
},
}SCSS
$custom: #2e01ec; $custom-light: #8c5df4; $custom-dark: #000000;
JSON
{
"hex": "#2e01ec",
"rgb": {
"r": 46,
"g": 1,
"b": 236
},
"hsl": {
"h": 251.489,
"s": 99.156,
"l": 46.471
},
"oklch": {
"l": 0.44002,
"c": 0.28648,
"h": 270.6
},
"luminance": 0.06659
}Semantic roles & 50–950 ramp
primary
#2E01EC
secondary
#CBE366
accent
#FF29D6
background
#FAF5FF
surface
#F3EAFF
border
#CDC6D7
text
#0F0517
muted
#7F7985