#4E2073#4E2073

#4E2073 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.137 H 305.9°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#4E2073
RGBrgb(78, 32, 115)
HSLhsl(273, 56%, 29%)
HSVhsv(273, 72%, 45%)
CMYKcmyk(32.2%, 72.2%, 0%, 54.9%)
CIE-LABlab(23.31, 37.66, -39.10)
CIE-LCHlch(23.31, 54.28, 313.92°)
OKLaboklab(35.55% 0.0803 -0.111)
OKLCHoklch(35.55% 0.137 305.9)
XYZxyz(6.7522, 3.8906, 16.6116)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2073 #457320
analogous
#252073 #4E2073 #73206F
triadic
#4E2073 #734E20 #20734E
tetradic
#4E2073 #732520 #457320 #206F73
square
#4E2073 #732520 #457320 #206F73
split-complementary
#4E2073 #6F7320 #207325
monochromatic
#100718 #2E1343 #4E2073 #6E2DA3 #8E43CB

Accessibility & contrast

On white

11.81
#4E2073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4E2073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2073
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2073#FFFFFF#000000##FFFFFF
##4E20731.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#043871
Tritanopia (blue-blind)
#473347
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2073;
/* rgb */ color: rgb(78, 32, 115);
/* oklch */ color: oklch(35.5% 0.137 305.9);
Tailwind
colors: {
  custom: {
    50: '#835f9c',
    500: '#4e2073',
    950: '#000000',
  },
}
SCSS
$custom: #4e2073;
$custom-light: #835f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2073",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 273.253,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35546,
    "c": 0.13699,
    "h": 305.9
  },
  "luminance": 0.03891
}

Semantic roles & 50–950 ramp

primary
#4E2073
secondary
#72A748
accent
#E0488C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E2073

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

Preview Lab → · Contrast checker → · Palette generator →

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