#4E2374#4E2374

#4E2374 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.134 H 304.9°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#4E2374
RGBrgb(78, 35, 116)
HSLhsl(272, 54%, 30%)
HSVhsv(272, 70%, 45%)
CMYKcmyk(32.8%, 69.8%, 0%, 54.5%)
CIE-LABlab(23.94, 36.36, -38.71)
CIE-LCHlch(23.94, 53.11, 313.21°)
OKLaboklab(36.03% 0.0766 -0.1098)
OKLCHoklch(36.03% 0.134 304.9)
XYZxyz(6.8946, 4.0828, 16.9444)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2374 #497423
analogous
#262374 #4E2374 #742372
triadic
#4E2374 #744E23 #23744E
tetradic
#4E2374 #742623 #497423 #237274
square
#4E2374 #742623 #497423 #237274
split-complementary
#4E2374 #727423 #237426
monochromatic
#100718 #2E1545 #4E2374 #6E31A3 #8D49C8

Accessibility & contrast

On white

11.56
#4E2374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4E2374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2374
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2374#FFFFFF#000000##FFFFFF
##4E23741.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#093972
Tritanopia (blue-blind)
#473548
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2374;
/* rgb */ color: rgb(78, 35, 116);
/* oklch */ color: oklch(36.0% 0.134 304.9);
Tailwind
colors: {
  custom: {
    50: '#83619d',
    500: '#4e2374',
    950: '#000000',
  },
}
SCSS
$custom: #4e2374;
$custom-light: #83619d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2374",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 271.852,
    "s": 53.642,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36026,
    "c": 0.13394,
    "h": 304.9
  },
  "luminance": 0.04083
}

Semantic roles & 50–950 ramp

primary
#4E2374
secondary
#77A74C
accent
#DD4B8F
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E2374

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

Preview Lab → · Contrast checker → · Palette generator →

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