#4E1E70#4E1E70

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

Color values

HEX#4E1E70
RGBrgb(78, 30, 112)
HSLhsl(275, 58%, 28%)
HSVhsv(275, 73%, 44%)
CMYKcmyk(30.4%, 73.2%, 0%, 56.1%)
CIE-LABlab(22.72, 37.90, -38.12)
CIE-LCHlch(22.72, 53.76, 314.83°)
OKLaboklab(35.05% 0.0831 -0.1081)
OKLCHoklch(35.05% 0.136 307.5)
XYZxyz(6.5302, 3.7182, 15.6998)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E70 #40701E
analogous
#251E70 #4E1E70 #701E69
triadic
#4E1E70 #704E1E #1E704E
tetradic
#4E1E70 #70251E #40701E #1E6970
square
#4E1E70 #70251E #40701E #1E6970
split-complementary
#4E1E70 #69701E #1E7025
monochromatic
#110618 #2C1140 #4E1E70 #702BA0 #903DCB

Accessibility & contrast

On white

12.04
#4E1E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4E1E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E70
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E70#FFFFFF#000000##FFFFFF
##4E1E701.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#07376E
Tritanopia (blue-blind)
#483044
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e1e70;
/* rgb */ color: rgb(78, 30, 112);
/* oklch */ color: oklch(35.1% 0.136 307.5);
Tailwind
colors: {
  custom: {
    50: '#835e9a',
    500: '#4e1e70',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e70;
$custom-light: #835e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e70",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 112
  },
  "hsl": {
    "h": 275.122,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35052,
    "c": 0.13633,
    "h": 307.5
  },
  "luminance": 0.03718
}

Semantic roles & 50–950 ramp

primary
#4E1E70
secondary
#6DA446
accent
#E14787
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E1E70

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

Preview Lab → · Contrast checker → · Palette generator →

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