#4E2482#4E2482

#4E2482 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.149 H 299.5°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#4E2482
RGBrgb(78, 36, 130)
HSLhsl(267, 57%, 33%)
HSVhsv(267, 72%, 51%)
CMYKcmyk(40%, 72.3%, 0%, 49%)
CIE-LABlab(25.24, 39.54, -45.49)
CIE-LCHlch(25.24, 60.27, 310.99°)
OKLaboklab(37.3% 0.0734 -0.1298)
OKLCHoklch(37.3% 0.149 299.5)
XYZxyz(7.8010, 4.4931, 21.5710)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2482 #588224
analogous
#242982 #4E2482 #7D2482
triadic
#4E2482 #824E24 #24824E
tetradic
#4E2482 #822429 #588224 #24827D
square
#4E2482 #822429 #588224 #24827D
split-complementary
#4E2482 #827D24 #298224
monochromatic
#140922 #311752 #4E2482 #6B31B2 #8A51CF

Accessibility & contrast

On white

11.06
#4E2482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4E2482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2482
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2482#FFFFFF#000000##FFFFFF
##4E24821.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#423B50
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2482;
/* rgb */ color: rgb(78, 36, 130);
/* oklch */ color: oklch(37.3% 0.149 299.5);
Tailwind
colors: {
  custom: {
    50: '#8462a7',
    500: '#4e2482',
    950: '#000000',
  },
}
SCSS
$custom: #4e2482;
$custom-light: #8462a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2482",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 266.809,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37301,
    "c": 0.14909,
    "h": 299.5
  },
  "luminance": 0.04493
}

Semantic roles & 50–950 ramp

primary
#4E2482
secondary
#86B34F
accent
#E0489C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4E2482

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

Preview Lab → · Contrast checker → · Palette generator →

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