#4E2474#4E2474

#4E2474 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.132 H 304.7°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#4E2474
RGBrgb(78, 36, 116)
HSLhsl(272, 53%, 30%)
HSVhsv(272, 69%, 45%)
CMYKcmyk(32.8%, 69%, 0%, 54.5%)
CIE-LABlab(24.14, 35.82, -38.40)
CIE-LCHlch(24.14, 52.51, 313.01°)
OKLaboklab(36.17% 0.0754 -0.1089)
OKLCHoklch(36.17% 0.132 304.7)
XYZxyz(6.9244, 4.1424, 16.9544)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2474 #4A7424
analogous
#262474 #4E2474 #742472
triadic
#4E2474 #744E24 #24744E
tetradic
#4E2474 #742624 #4A7424 #247274
square
#4E2474 #742624 #4A7424 #247274
split-complementary
#4E2474 #727424 #247426
monochromatic
#100717 #2F1645 #4E2474 #6D32A3 #8C4BC7

Accessibility & contrast

On white

11.49
#4E2474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4E2474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2474
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2474#FFFFFF#000000##FFFFFF
##4E24741.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2474;
/* rgb */ color: rgb(78, 36, 116);
/* oklch */ color: oklch(36.2% 0.132 304.7);
Tailwind
colors: {
  custom: {
    50: '#83629d',
    500: '#4e2474',
    950: '#000000',
  },
}
SCSS
$custom: #4e2474;
$custom-light: #83629d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2474",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 116
  },
  "hsl": {
    "h": 271.5,
    "s": 52.632,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36166,
    "c": 0.13249,
    "h": 304.7
  },
  "luminance": 0.04142
}

Semantic roles & 50–950 ramp

primary
#4E2474
secondary
#78A74D
accent
#DC4C90
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E2474

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

Preview Lab → · Contrast checker → · Palette generator →

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