#4E2086#4E2086

#4E2086 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.159 H 298.9°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#4E2086
RGBrgb(78, 32, 134)
HSLhsl(267, 61%, 33%)
HSVhsv(267, 76%, 53%)
CMYKcmyk(41.8%, 76.1%, 0%, 47.5%)
CIE-LABlab(24.87, 42.59, -48.60)
CIE-LCHlch(24.87, 64.62, 311.23°)
OKLaboklab(37.15% 0.0766 -0.1389)
OKLCHoklch(37.15% 0.159 298.9)
XYZxyz(7.9604, 4.3738, 22.9745)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2086 #588620
analogous
#202586 #4E2086 #812086
triadic
#4E2086 #864E20 #20864E
tetradic
#4E2086 #862025 #588620 #208681
square
#4E2086 #862025 #588620 #208681
split-complementary
#4E2086 #868120 #258620
monochromatic
#140823 #311455 #4E2086 #6B2CB7 #8A4CD4

Accessibility & contrast

On white

11.20
#4E2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4E2086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2086
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2086#FFFFFF#000000##FFFFFF
##4E20861.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#403A51
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2086;
/* rgb */ color: rgb(78, 32, 134);
/* oklch */ color: oklch(37.1% 0.159 298.9);
Tailwind
colors: {
  custom: {
    50: '#8560aa',
    500: '#4e2086',
    950: '#000000',
  },
}
SCSS
$custom: #4e2086;
$custom-light: #8560aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2086",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 267.059,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37146,
    "c": 0.15863,
    "h": 298.9
  },
  "luminance": 0.04374
}

Semantic roles & 50–950 ramp

primary
#4E2086
secondary
#86B74B
accent
#E5439C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4E2086

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

Preview Lab → · Contrast checker → · Palette generator →

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