#4E1470#4E1470

#4E1470 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.148 H 309.0°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#4E1470
RGBrgb(78, 20, 112)
HSLhsl(278, 70%, 26%)
HSVhsv(278, 82%, 44%)
CMYKcmyk(30.4%, 82.1%, 0%, 56.1%)
CIE-LABlab(21.17, 42.31, -40.63)
CIE-LCHlch(21.17, 58.66, 316.16°)
OKLaboklab(33.96% 0.0933 -0.1154)
OKLCHoklch(33.96% 0.148 309)
XYZxyz(6.3161, 3.2900, 15.6284)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1470 #367014
analogous
#201470 #4E1470 #701464
triadic
#4E1470 #704E14 #14704E
tetradic
#4E1470 #702014 #367014 #146470
square
#4E1470 #702014 #367014 #146470
split-complementary
#4E1470 #647014 #147020
monochromatic
#12051A #2A0B3C #4E1470 #721DA4 #9627D8

Accessibility & contrast

On white

12.67
#4E1470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4E1470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1470
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1470#FFFFFF#000000##FFFFFF
##4E14701.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#492B42
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1470;
/* rgb */ color: rgb(78, 20, 112);
/* oklch */ color: oklch(34.0% 0.148 309.0);
Tailwind
colors: {
  custom: {
    50: '#84599a',
    500: '#4e1470',
    950: '#000000',
  },
}
SCSS
$custom: #4e1470;
$custom-light: #84599a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1470",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 277.826,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33958,
    "c": 0.14841,
    "h": 309
  },
  "luminance": 0.0329
}

Semantic roles & 50–950 ramp

primary
#4E1470
secondary
#62A639
accent
#ED3B7D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E1470

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

Preview Lab → · Contrast checker → · Palette generator →

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