#4E1D70#4E1D70

#4E1D70 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.138 H 307.7°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#4E1D70
RGBrgb(78, 29, 112)
HSLhsl(275, 59%, 28%)
HSVhsv(275, 74%, 44%)
CMYKcmyk(30.4%, 74.1%, 0%, 56.1%)
CIE-LABlab(22.54, 38.39, -38.40)
CIE-LCHlch(22.54, 54.30, 314.99°)
OKLaboklab(34.93% 0.0842 -0.1089)
OKLCHoklch(34.93% 0.138 307.7)
XYZxyz(6.5053, 3.6684, 15.6915)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D70 #3F701D
analogous
#251D70 #4E1D70 #701D68
triadic
#4E1D70 #704E1D #1D704E
tetradic
#4E1D70 #70251D #3F701D #1D6870
square
#4E1D70 #70251D #3F701D #1D6870
split-complementary
#4E1D70 #68701D #1D7025
monochromatic
#110618 #2C103F #4E1D70 #702AA1 #913BCC

Accessibility & contrast

On white

12.11
#4E1D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4E1D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D70
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D70#FFFFFF#000000##FFFFFF
##4E1D701.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#05366E
Tritanopia (blue-blind)
#493044
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e1d70;
/* rgb */ color: rgb(78, 29, 112);
/* oklch */ color: oklch(34.9% 0.138 307.7);
Tailwind
colors: {
  custom: {
    50: '#835e9a',
    500: '#4e1d70',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d70;
$custom-light: #835e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d70",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 112
  },
  "hsl": {
    "h": 275.422,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34929,
    "c": 0.13767,
    "h": 307.7
  },
  "luminance": 0.03668
}

Semantic roles & 50–950 ramp

primary
#4E1D70
secondary
#6CA444
accent
#E24686
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E1D70

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

Preview Lab → · Contrast checker → · Palette generator →

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