#4E2A86#4E2A86

#4E2A86 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.146 H 296.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#4E2A86
RGBrgb(78, 42, 134)
HSLhsl(263, 52%, 35%)
HSVhsv(263, 69%, 53%)
CMYKcmyk(41.8%, 68.7%, 0%, 47.5%)
CIE-LABlab(26.73, 37.42, -45.58)
CIE-LCHlch(26.73, 58.97, 309.38°)
OKLaboklab(38.47% 0.0661 -0.1301)
OKLCHoklch(38.47% 0.146 296.9)
XYZxyz(8.2718, 4.9967, 23.0783)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A86 #62862A
analogous
#2A3486 #4E2A86 #7C2A86
triadic
#4E2A86 #864E2A #2A864E
tetradic
#4E2A86 #862A34 #62862A #2A867C
square
#4E2A86 #862A34 #62862A #2A867C
split-complementary
#4E2A86 #867C2A #34862A
monochromatic
#180D29 #331B57 #4E2A86 #6939B5 #895ECD

Accessibility & contrast

On white

10.50
#4E2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4E2A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2A86
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A86#FFFFFF#000000##FFFFFF
##4E2A861.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#404054
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e2a86;
/* rgb */ color: rgb(78, 42, 134);
/* oklch */ color: oklch(38.5% 0.146 296.9);
Tailwind
colors: {
  custom: {
    50: '#8466aa',
    500: '#4e2a86',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a86;
$custom-light: #8466aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a86",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 263.478,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38466,
    "c": 0.14591,
    "h": 296.9
  },
  "luminance": 0.04997
}

Semantic roles & 50–950 ramp

primary
#4E2A86
secondary
#90B25A
accent
#DC4CA4
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2A86

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

Preview Lab → · Contrast checker → · Palette generator →

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