#4E2372#4E2372

#4E2372 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.132 H 305.7°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#4E2372
RGBrgb(78, 35, 114)
HSLhsl(273, 53%, 29%)
HSVhsv(273, 69%, 45%)
CMYKcmyk(31.6%, 69.3%, 0%, 55.3%)
CIE-LABlab(23.79, 35.84, -37.67)
CIE-LCHlch(23.79, 52.00, 313.57°)
OKLaboklab(35.87% 0.0769 -0.1068)
OKLCHoklch(35.87% 0.132 305.7)
XYZxyz(6.7795, 4.0367, 16.3383)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2372 #477223
analogous
#272372 #4E2372 #72236F
triadic
#4E2372 #724E23 #23724E
tetradic
#4E2372 #722723 #477223 #236F72
square
#4E2372 #722723 #477223 #236F72
split-complementary
#4E2372 #6F7223 #237227
monochromatic
#100717 #2E1543 #4E2372 #6E31A1 #8D48C7

Accessibility & contrast

On white

11.62
#4E2372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2372
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2372#FFFFFF#000000##FFFFFF
##4E23721.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#0D3970
Tritanopia (blue-blind)
#483447
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2372;
/* rgb */ color: rgb(78, 35, 114);
/* oklch */ color: oklch(35.9% 0.132 305.7);
Tailwind
colors: {
  custom: {
    50: '#83619b',
    500: '#4e2372',
    950: '#000000',
  },
}
SCSS
$custom: #4e2372;
$custom-light: #83619b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2372",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 272.658,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3587,
    "c": 0.13157,
    "h": 305.7
  },
  "luminance": 0.04037
}

Semantic roles & 50–950 ramp

primary
#4E2372
secondary
#74A54C
accent
#DC4B8D
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E2372

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

Preview Lab → · Contrast checker → · Palette generator →

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