#4E2286#4E2286

#4E2286 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.156 H 298.5°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#4E2286
RGBrgb(78, 34, 134)
HSLhsl(266, 60%, 33%)
HSVhsv(266, 75%, 53%)
CMYKcmyk(41.8%, 74.6%, 0%, 47.5%)
CIE-LABlab(25.21, 41.62, -48.04)
CIE-LCHlch(25.21, 63.56, 310.91°)
OKLaboklab(37.39% 0.0746 -0.1373)
OKLCHoklch(37.39% 0.156 298.5)
XYZxyz(8.0159, 4.4849, 22.9930)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2286 #5A8622
analogous
#222886 #4E2286 #802286
triadic
#4E2286 #864E22 #22864E
tetradic
#4E2286 #862228 #5A8622 #228680
square
#4E2286 #862228 #5A8622 #228680
split-complementary
#4E2286 #868022 #288622
monochromatic
#150924 #321655 #4E2286 #6A2EB7 #8950D3

Accessibility & contrast

On white

11.07
#4E2286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2286
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2286#FFFFFF#000000##FFFFFF
##4E22861.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#403B52
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2286;
/* rgb */ color: rgb(78, 34, 134);
/* oklch */ color: oklch(37.4% 0.156 298.5);
Tailwind
colors: {
  custom: {
    50: '#8561aa',
    500: '#4e2286',
    950: '#000000',
  },
}
SCSS
$custom: #4e2286;
$custom-light: #8561aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2286",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 266.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37388,
    "c": 0.15626,
    "h": 298.5
  },
  "luminance": 0.04485
}

Semantic roles & 50–950 ramp

primary
#4E2286
secondary
#88B64E
accent
#E3459D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4E2286

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

Preview Lab → · Contrast checker → · Palette generator →

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