#4E13E2#4E13E2

#4E13E2 is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.6% C 0.264 H 280.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#4E13E2
RGBrgb(78, 19, 226)
HSLhsl(257, 84%, 48%)
HSVhsv(257, 92%, 89%)
CMYKcmyk(65.5%, 91.6%, 0%, 11.4%)
CIE-LABlab(33.08, 70.69, -90.02)
CIE-LCHlch(33.08, 114.46, 308.14°)
OKLaboklab(45.63% 0.0495 -0.2596)
OKLCHoklch(45.63% 0.264 280.8)
XYZxyz(17.0979, 7.5751, 72.4979)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E13E2 #A7E213
analogous
#1340E2 #4E13E2 #B513E2
triadic
#4E13E2 #E24E13 #13E24E
tetradic
#4E13E2 #E21340 #A7E213 #13E2B5
square
#4E13E2 #E21340 #A7E213 #13E2B5
split-complementary
#4E13E2 #E2B513 #40E213
monochromatic
#270A71 #3B0EAA #4E13E2 #7443EF #9E7BF4

Accessibility & contrast

On white

8.35
#4E13E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4E13E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E13E2
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E13E2#FFFFFF#000000##FFFFFF
##4E13E21.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054E7
Deuteranopia (green-blind)
#0046DF
Tritanopia (blue-blind)
#005E85
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e13e2;
/* rgb */ color: rgb(78, 19, 226);
/* oklch */ color: oklch(45.6% 0.264 280.8);
Tailwind
colors: {
  custom: {
    50: '#9462ed',
    500: '#4e13e2',
    950: '#000000',
  },
}
SCSS
$custom: #4e13e2;
$custom-light: #9462ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4e13e2",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 226
  },
  "hsl": {
    "h": 257.101,
    "s": 84.49,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45627,
    "c": 0.26429,
    "h": 280.8
  },
  "luminance": 0.07576
}

Semantic roles & 50–950 ramp

primary
#4E13E2
secondary
#BEDC75
accent
#FB2DC0
background
#FAF6FE
surface
#F4EBFD
border
#CEC6D5
text
#0F0617
muted
#7F7A85

Preview Lab

Preview with #4E13E2

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

Preview Lab → · Contrast checker → · Palette generator →

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