#4E2470#4E2470

#4E2470 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.9% C 0.128 H 306.4°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#4E2470
RGBrgb(78, 36, 112)
HSLhsl(273, 51%, 29%)
HSVhsv(273, 68%, 44%)
CMYKcmyk(30.4%, 67.9%, 0%, 56.1%)
CIE-LABlab(23.84, 34.79, -36.31)
CIE-LCHlch(23.84, 50.28, 313.77°)
OKLaboklab(35.86% 0.0758 -0.1028)
OKLCHoklch(35.86% 0.128 306.4)
XYZxyz(6.6968, 4.0514, 15.7553)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2470 #467024
analogous
#282470 #4E2470 #70246C
triadic
#4E2470 #704E24 #24704E
tetradic
#4E2470 #702824 #467024 #246C70
square
#4E2470 #702824 #467024 #246C70
split-complementary
#4E2470 #6C7024 #247028
monochromatic
#100717 #2E1542 #4E2470 #6E339E #8E4AC5

Accessibility & contrast

On white

11.60
#4E2470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4E2470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2470
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2470#FFFFFF#000000##FFFFFF
##4E24701.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#12396E
Tritanopia (blue-blind)
#483446
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2470;
/* rgb */ color: rgb(78, 36, 112);
/* oklch */ color: oklch(35.9% 0.128 306.4);
Tailwind
colors: {
  custom: {
    50: '#83629a',
    500: '#4e2470',
    950: '#000000',
  },
}
SCSS
$custom: #4e2470;
$custom-light: #83629a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2470",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 112
  },
  "hsl": {
    "h": 273.158,
    "s": 51.351,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35858,
    "c": 0.12772,
    "h": 306.4
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#4E2470
secondary
#73A34D
accent
#DB4D8C
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E2470

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

Preview Lab → · Contrast checker → · Palette generator →

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