#4E01FE#4E01FE

#4E01FE is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 48.3% C 0.296 H 277.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#4E01FE
RGBrgb(78, 1, 254)
HSLhsl(258, 99%, 50%)
HSVhsv(258, 100%, 100%)
CMYKcmyk(69.3%, 99.6%, 0%, 0.4%)
CIE-LABlab(35.59, 80.09, -101.72)
CIE-LCHlch(35.59, 129.47, 308.21°)
OKLaboklab(48.26% 0.0407 -0.2933)
OKLCHoklch(48.26% 0.296 277.9)
XYZxyz(21.0364, 8.7952, 94.3358)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E01FE #B1FE01
analogous
#0132FE #4E01FE #CD01FE
triadic
#4E01FE #FE4E01 #01FE4E
tetradic
#4E01FE #FE0132 #B1FE01 #01FECD
square
#4E01FE #FE0132 #B1FE01 #01FECD
split-complementary
#4E01FE #FECD01 #32FE01
monochromatic
#290184 #3B01C1 #4E01FE #783EFE #A37BFE

Accessibility & contrast

On white

7.61
#4E01FE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4E01FE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E01FE
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E01FE#FFFFFF#000000##FFFFFF
##4E01FE1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CFF
Deuteranopia (green-blind)
#004AFA
Tritanopia (blue-blind)
#006995
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e01fe;
/* rgb */ color: rgb(78, 1, 254);
/* oklch */ color: oklch(48.3% 0.296 277.9);
Tailwind
colors: {
  custom: {
    50: '#9a61ff',
    500: '#4e01fe',
    950: '#000000',
  },
}
SCSS
$custom: #4e01fe;
$custom-light: #9a61ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4e01fe",
  "rgb": {
    "r": 78,
    "g": 1,
    "b": 254
  },
  "hsl": {
    "h": 258.261,
    "s": 99.216,
    "l": 50
  },
  "oklch": {
    "l": 0.4826,
    "c": 0.29614,
    "h": 277.9
  },
  "luminance": 0.08797
}

Semantic roles & 50–950 ramp

primary
#4E01FE
secondary
#C4E675
accent
#FF29BE
background
#FAF6FF
surface
#F4EBFF
border
#CEC6D7
text
#100618
muted
#7F7A86

Preview Lab

Preview with #4E01FE

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

Preview Lab → · Contrast checker → · Palette generator →

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