#4E2973#4E2973

#4E2973 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.8% C 0.124 H 304.0°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#4E2973
RGBrgb(78, 41, 115)
HSLhsl(270, 47%, 31%)
HSVhsv(270, 64%, 45%)
CMYKcmyk(32.2%, 64.3%, 0%, 54.9%)
CIE-LABlab(25.09, 32.77, -36.23)
CIE-LCHlch(25.09, 48.85, 312.13°)
OKLaboklab(36.83% 0.0691 -0.1026)
OKLCHoklch(36.83% 0.124 304)
XYZxyz(7.0286, 4.4434, 16.7037)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2973 #4E7329
analogous
#292973 #4E2973 #732973
triadic
#4E2973 #734E29 #29734E
tetradic
#4E2973 #732929 #4E7329 #297373
square
#4E2973 #732929 #4E7329 #297373
split-complementary
#4E2973 #737329 #297329
monochromatic
#110919 #2F1946 #4E2973 #6D39A0 #8B54C2

Accessibility & contrast

On white

11.12
#4E2973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4E2973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2973
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2973#FFFFFF#000000##FFFFFF
##4E29731.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B75
Deuteranopia (green-blind)
#163B71
Tritanopia (blue-blind)
#47384A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2973;
/* rgb */ color: rgb(78, 41, 115);
/* oklch */ color: oklch(36.8% 0.124 304.0);
Tailwind
colors: {
  custom: {
    50: '#83659c',
    500: '#4e2973',
    950: '#000000',
  },
}
SCSS
$custom: #4e2973;
$custom-light: #83659c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2973",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 270,
    "s": 47.436,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36829,
    "c": 0.12368,
    "h": 304
  },
  "luminance": 0.04443
}

Semantic roles & 50–950 ramp

primary
#4E2973
secondary
#7CA553
accent
#D75194
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2973

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

Preview Lab → · Contrast checker → · Palette generator →

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