#4E2B86#4E2B86

#4E2B86 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.145 H 296.7°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#4E2B86
RGBrgb(78, 43, 134)
HSLhsl(263, 51%, 35%)
HSVhsv(263, 68%, 53%)
CMYKcmyk(41.8%, 67.9%, 0%, 47.5%)
CIE-LABlab(26.93, 36.86, -45.25)
CIE-LCHlch(26.93, 58.36, 309.16°)
OKLaboklab(38.61% 0.065 -0.1291)
OKLCHoklch(38.61% 0.145 296.7)
XYZxyz(8.3077, 5.0685, 23.0903)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B86 #63862B
analogous
#2B3686 #4E2B86 #7C2B86
triadic
#4E2B86 #864E2B #2B864E
tetradic
#4E2B86 #862B36 #63862B #2B867C
square
#4E2B86 #862B36 #63862B #2B867C
split-complementary
#4E2B86 #867C2B #36862B
monochromatic
#180D29 #331C58 #4E2B86 #693AB4 #8960CC

Accessibility & contrast

On white

10.43
#4E2B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4E2B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B86
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B86#FFFFFF#000000##FFFFFF
##4E2B861.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2b86;
/* rgb */ color: rgb(78, 43, 134);
/* oklch */ color: oklch(38.6% 0.145 296.7);
Tailwind
colors: {
  custom: {
    50: '#8467aa',
    500: '#4e2b86',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b86;
$custom-light: #8467aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b86",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 263.077,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38613,
    "c": 0.14453,
    "h": 296.7
  },
  "luminance": 0.05069
}

Semantic roles & 50–950 ramp

primary
#4E2B86
secondary
#90B25B
accent
#DB4DA4
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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