#4E2285#4E2285

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

Color values

HEX#4E2285
RGBrgb(78, 34, 133)
HSLhsl(267, 59%, 33%)
HSVhsv(267, 74%, 52%)
CMYKcmyk(41.4%, 74.4%, 0%, 47.8%)
CIE-LABlab(25.13, 41.36, -47.55)
CIE-LCHlch(25.13, 63.02, 311.01°)
OKLaboklab(37.3% 0.0749 -0.1358)
OKLCHoklch(37.3% 0.155 298.9)
XYZxyz(7.9465, 4.4571, 22.6274)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2285 #598522
analogous
#222785 #4E2285 #7F2285
triadic
#4E2285 #854E22 #22854E
tetradic
#4E2285 #852227 #598522 #22857F
square
#4E2285 #852227 #598522 #22857F
split-complementary
#4E2285 #857F22 #278522
monochromatic
#150924 #311654 #4E2285 #6B2EB6 #894FD2

Accessibility & contrast

On white

11.10
#4E2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2285
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2285#FFFFFF#000000##FFFFFF
##4E22851.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#413B51
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2285;
/* rgb */ color: rgb(78, 34, 133);
/* oklch */ color: oklch(37.3% 0.155 298.9);
Tailwind
colors: {
  custom: {
    50: '#8561a9',
    500: '#4e2285',
    950: '#000000',
  },
}
SCSS
$custom: #4e2285;
$custom-light: #8561a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2285",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 266.667,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37301,
    "c": 0.15511,
    "h": 298.9
  },
  "luminance": 0.04457
}

Semantic roles & 50–950 ramp

primary
#4E2285
secondary
#87B64D
accent
#E2459D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4E2285

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

Preview Lab → · Contrast checker → · Palette generator →

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