#4E2373#4E2373

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

Color values

HEX#4E2373
RGBrgb(78, 35, 115)
HSLhsl(272, 53%, 29%)
HSVhsv(272, 70%, 45%)
CMYKcmyk(32.2%, 69.6%, 0%, 54.9%)
CIE-LABlab(23.87, 36.10, -38.19)
CIE-LCHlch(23.87, 52.55, 313.39°)
OKLaboklab(35.95% 0.0768 -0.1083)
OKLCHoklch(35.95% 0.133 305.3)
XYZxyz(6.8367, 4.0596, 16.6397)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2373 #487323
analogous
#262373 #4E2373 #732370
triadic
#4E2373 #734E23 #23734E
tetradic
#4E2373 #732623 #487323 #237073
square
#4E2373 #732623 #487323 #237073
split-complementary
#4E2373 #707323 #237326
monochromatic
#100717 #2E1544 #4E2373 #6E31A2 #8D49C8

Accessibility & contrast

On white

11.59
#4E2373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2373
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2373#FFFFFF#000000##FFFFFF
##4E23731.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#0B3971
Tritanopia (blue-blind)
#473548
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2373;
/* rgb */ color: rgb(78, 35, 115);
/* oklch */ color: oklch(35.9% 0.133 305.3);
Tailwind
colors: {
  custom: {
    50: '#83619c',
    500: '#4e2373',
    950: '#000000',
  },
}
SCSS
$custom: #4e2373;
$custom-light: #83619c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2373",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 272.25,
    "s": 53.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35948,
    "c": 0.13275,
    "h": 305.3
  },
  "luminance": 0.0406
}

Semantic roles & 50–950 ramp

primary
#4E2373
secondary
#76A64C
accent
#DD4B8E
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E2373

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

Preview Lab → · Contrast checker → · Palette generator →

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