#2D01EC#2D01EC

#2D01EC is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 44.0% C 0.287 H 270.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2D01EC
RGBrgb(45, 1, 236)
HSLhsl(251, 99%, 46%)
HSVhsv(251, 100%, 93%)
CMYKcmyk(80.9%, 99.6%, 0%, 7.5%)
CIE-LABlab(30.96, 74.98, -99.33)
CIE-LCHlch(30.96, 124.45, 307.05°)
OKLaboklab(43.95% 0.0017 -0.2867)
OKLCHoklch(43.95% 0.287 270.3)
XYZxyz(16.2283, 6.6338, 79.7658)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D01EC #C0EC01
analogous
#014BEC #2D01EC #A301EC
triadic
#2D01EC #EC2D01 #01EC2D
tetradic
#2D01EC #EC014B #C0EC01 #01ECA3
square
#2D01EC #EC014B #C0EC01 #01ECA3
split-complementary
#2D01EC #ECA301 #4BEC01
monochromatic
#160072 #2101AF #2D01EC #532CFE #8569FE

Accessibility & contrast

On white

9.02
#2D01EC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2D01EC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D01EC
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D01EC#FFFFFF#000000##FFFFFF
##2D01EC1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053F1
Deuteranopia (green-blind)
#003DE9
Tritanopia (blue-blind)
#00628A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d01ec;
/* rgb */ color: rgb(45, 1, 236);
/* oklch */ color: oklch(44.0% 0.287 270.3);
Tailwind
colors: {
  custom: {
    50: '#8c5df4',
    500: '#2d01ec',
    950: '#000000',
  },
}
SCSS
$custom: #2d01ec;
$custom-light: #8c5df4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d01ec",
  "rgb": {
    "r": 45,
    "g": 1,
    "b": 236
  },
  "hsl": {
    "h": 251.234,
    "s": 99.156,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43951,
    "c": 0.28674,
    "h": 270.3
  },
  "luminance": 0.06636
}

Semantic roles & 50–950 ramp

primary
#2D01EC
secondary
#CCE366
accent
#FF29D7
background
#FAF5FF
surface
#F3EAFF
border
#CDC6D7
text
#0F0517
muted
#7F7985

Preview Lab

Preview with #2D01EC

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

Preview Lab → · Contrast checker → · Palette generator →

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