#4E1E71#4E1E71

#4E1E71 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.137 H 307.1°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#4E1E71
RGBrgb(78, 30, 113)
HSLhsl(275, 58%, 28%)
HSVhsv(275, 73%, 44%)
CMYKcmyk(31%, 73.5%, 0%, 55.7%)
CIE-LABlab(22.79, 38.15, -38.64)
CIE-LCHlch(22.79, 54.30, 314.63°)
OKLaboklab(35.13% 0.0829 -0.1096)
OKLCHoklch(35.13% 0.137 307.1)
XYZxyz(6.5862, 3.7406, 15.9946)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E71 #41711E
analogous
#241E71 #4E1E71 #711E6A
triadic
#4E1E71 #714E1E #1E714E
tetradic
#4E1E71 #71241E #41711E #1E6A71
square
#4E1E71 #71241E #41711E #1E6A71
split-complementary
#4E1E71 #6A711E #1E7124
monochromatic
#110618 #2D1141 #4E1E71 #6F2BA1 #903ECC

Accessibility & contrast

On white

12.01
#4E1E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4E1E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E71
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E71#FFFFFF#000000##FFFFFF
##4E1E711.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#05376F
Tritanopia (blue-blind)
#483145
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e1e71;
/* rgb */ color: rgb(78, 30, 113);
/* oklch */ color: oklch(35.1% 0.137 307.1);
Tailwind
colors: {
  custom: {
    50: '#835e9a',
    500: '#4e1e71',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e71;
$custom-light: #835e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e71",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 274.699,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35132,
    "c": 0.13746,
    "h": 307.1
  },
  "luminance": 0.03741
}

Semantic roles & 50–950 ramp

primary
#4E1E71
secondary
#6EA546
accent
#E14788
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E1E71

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

Preview Lab → · Contrast checker → · Palette generator →

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