#4E2484#4E2484

#4E2484 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.151 H 298.8°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#4E2484
RGBrgb(78, 36, 132)
HSLhsl(266, 57%, 33%)
HSVhsv(266, 73%, 52%)
CMYKcmyk(40.9%, 72.7%, 0%, 48.2%)
CIE-LABlab(25.40, 40.08, -46.48)
CIE-LCHlch(25.40, 61.37, 310.77°)
OKLaboklab(37.47% 0.073 -0.1327)
OKLCHoklch(37.47% 0.151 298.8)
XYZxyz(7.9366, 4.5473, 22.2849)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2484 #5A8424
analogous
#242A84 #4E2484 #7E2484
triadic
#4E2484 #844E24 #24844E
tetradic
#4E2484 #84242A #5A8424 #24847E
square
#4E2484 #84242A #5A8424 #24847E
split-complementary
#4E2484 #847E24 #2A8424
monochromatic
#150A24 #321754 #4E2484 #6A31B4 #8952D0

Accessibility & contrast

On white

11.00
#4E2484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4E2484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2484
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2484#FFFFFF#000000##FFFFFF
##4E24841.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#413C51
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2484;
/* rgb */ color: rgb(78, 36, 132);
/* oklch */ color: oklch(37.5% 0.151 298.8);
Tailwind
colors: {
  custom: {
    50: '#8562a9',
    500: '#4e2484',
    950: '#000000',
  },
}
SCSS
$custom: #4e2484;
$custom-light: #8562a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2484",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 132
  },
  "hsl": {
    "h": 266.25,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37471,
    "c": 0.15145,
    "h": 298.8
  },
  "luminance": 0.04547
}

Semantic roles & 50–950 ramp

primary
#4E2484
secondary
#88B450
accent
#E0479D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4E2484

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

Preview Lab → · Contrast checker → · Palette generator →

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