#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
RGBrgb(46, 1, 236)
HSLhsl(251, 99%, 46%)
HSVhsv(251, 100%, 93%)
CMYKcmyk(80.5%, 99.6%, 0%, 7.5%)
CIE-LABlab(31.01, 75.00, -99.24)
CIE-LCHlch(31.01, 124.39, 307.08°)
OKLaboklab(44% 0.0028 -0.2865)
OKLCHoklch(44% 0.286 270.6)
XYZxyz(16.2728, 6.6568, 79.7679)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##2E01EC1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.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

Preview Lab

Preview with #2E01EC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2E01EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva