#4E01DC#4E01DC

#4E01DC is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 44.3% C 0.263 H 282.0°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#4E01DC
RGBrgb(78, 1, 220)
HSLhsl(261, 99%, 43%)
HSVhsv(261, 100%, 86%)
CMYKcmyk(64.5%, 99.5%, 0%, 13.7%)
CIE-LABlab(31.36, 72.30, -89.43)
CIE-LCHlch(31.36, 115.00, 308.96°)
OKLaboklab(44.28% 0.055 -0.2577)
OKLCHoklch(44.28% 0.263 282)
XYZxyz(16.0670, 6.8075, 68.1636)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E01DC #8FDC01
analogous
#0121DC #4E01DC #BB01DC
triadic
#4E01DC #DC4E01 #01DC4E
tetradic
#4E01DC #DC0121 #8FDC01 #01DCBB
square
#4E01DC #DC0121 #8FDC01 #01DCBB
split-complementary
#4E01DC #DCBB01 #21DC01
monochromatic
#230062 #38019F #4E01DC #6C1CFE #9359FE

Accessibility & contrast

On white

8.89
#4E01DC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4E01DC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E01DC
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E01DC#FFFFFF#000000##FFFFFF
##4E01DC1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050E1
Deuteranopia (green-blind)
#0043D9
Tritanopia (blue-blind)
#005981
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e01dc;
/* rgb */ color: rgb(78, 1, 220);
/* oklch */ color: oklch(44.3% 0.263 282.0);
Tailwind
colors: {
  custom: {
    50: '#945ee9',
    500: '#4e01dc',
    950: '#000000',
  },
}
SCSS
$custom: #4e01dc;
$custom-light: #945ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e01dc",
  "rgb": {
    "r": 78,
    "g": 1,
    "b": 220
  },
  "hsl": {
    "h": 261.096,
    "s": 99.095,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44276,
    "c": 0.26349,
    "h": 282
  },
  "luminance": 0.06809
}

Semantic roles & 50–950 ramp

primary
#4E01DC
secondary
#B1E158
accent
#FF29B4
background
#FAF6FE
surface
#F4EBFD
border
#CEC6D5
text
#0F0516
muted
#7F7984

Preview Lab

Preview with #4E01DC

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

Preview Lab → · Contrast checker → · Palette generator →

#4E01DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva