#4E2284#4E2284

#4E2284 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.154 H 299.2°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#4E2284
RGBrgb(78, 34, 132)
HSLhsl(267, 59%, 33%)
HSVhsv(267, 74%, 52%)
CMYKcmyk(40.9%, 74.2%, 0%, 48.2%)
CIE-LABlab(25.04, 41.09, -47.06)
CIE-LCHlch(25.04, 62.48, 311.12°)
OKLaboklab(37.21% 0.0751 -0.1344)
OKLCHoklch(37.21% 0.154 299.2)
XYZxyz(7.8777, 4.4296, 22.2653)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2284 #588422
analogous
#222784 #4E2284 #7F2284
triadic
#4E2284 #844E22 #22844E
tetradic
#4E2284 #842227 #588422 #22847F
square
#4E2284 #842227 #588422 #22847F
split-complementary
#4E2284 #847F22 #278422
monochromatic
#140923 #311553 #4E2284 #6B2FB5 #8A4FD2

Accessibility & contrast

On white

11.13
#4E2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4E2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2284
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2284#FFFFFF#000000##FFFFFF
##4E22841.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#413A51
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2284;
/* rgb */ color: rgb(78, 34, 132);
/* oklch */ color: oklch(37.2% 0.154 299.2);
Tailwind
colors: {
  custom: {
    50: '#8561a9',
    500: '#4e2284',
    950: '#000000',
  },
}
SCSS
$custom: #4e2284;
$custom-light: #8561a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2284",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 266.939,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37215,
    "c": 0.15395,
    "h": 299.2
  },
  "luminance": 0.0443
}

Semantic roles & 50–950 ramp

primary
#4E2284
secondary
#86B54D
accent
#E2469C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4E2284

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

Preview Lab → · Contrast checker → · Palette generator →

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