#4E1C70#4E1C70

#4E1C70 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.139 H 307.9°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#4E1C70
RGBrgb(78, 28, 112)
HSLhsl(276, 60%, 27%)
HSVhsv(276, 75%, 44%)
CMYKcmyk(30.4%, 75%, 0%, 56.1%)
CIE-LABlab(22.37, 38.87, -38.68)
CIE-LCHlch(22.37, 54.83, 315.14°)
OKLaboklab(34.81% 0.0853 -0.1097)
OKLCHoklch(34.81% 0.139 307.9)
XYZxyz(6.4812, 3.6202, 15.6834)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1C70 #3E701C
analogous
#241C70 #4E1C70 #701C68
triadic
#4E1C70 #704E1C #1C704E
tetradic
#4E1C70 #70241C #3E701C #1C6870
square
#4E1C70 #70241C #3E701C #1C6870
split-complementary
#4E1C70 #68701C #1C7024
monochromatic
#110618 #2C103F #4E1C70 #7028A1 #9139CD

Accessibility & contrast

On white

12.18
#4E1C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4E1C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1C70
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1C70#FFFFFF#000000##FFFFFF
##4E1C701.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#03366E
Tritanopia (blue-blind)
#492F44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e1c70;
/* rgb */ color: rgb(78, 28, 112);
/* oklch */ color: oklch(34.8% 0.139 307.9);
Tailwind
colors: {
  custom: {
    50: '#835d9a',
    500: '#4e1c70',
    950: '#000000',
  },
}
SCSS
$custom: #4e1c70;
$custom-light: #835d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1c70",
  "rgb": {
    "r": 78,
    "g": 28,
    "b": 112
  },
  "hsl": {
    "h": 275.714,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34808,
    "c": 0.13899,
    "h": 307.9
  },
  "luminance": 0.0362
}

Semantic roles & 50–950 ramp

primary
#4E1C70
secondary
#6BA543
accent
#E34585
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E1C70

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

Preview Lab → · Contrast checker → · Palette generator →

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