#4E2B89#4E2B89

#4E2B89 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.9% C 0.148 H 295.8°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#4E2B89
RGBrgb(78, 43, 137)
HSLhsl(262, 52%, 35%)
HSVhsv(262, 69%, 54%)
CMYKcmyk(43.1%, 68.6%, 0%, 46.3%)
CIE-LABlab(27.17, 37.70, -46.73)
CIE-LCHlch(27.17, 60.05, 308.90°)
OKLaboklab(38.86% 0.0646 -0.1335)
OKLCHoklch(38.86% 0.148 295.8)
XYZxyz(8.5199, 5.1534, 24.2079)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B89 #66892B
analogous
#2B3789 #4E2B89 #7D2B89
triadic
#4E2B89 #894E2B #2B894E
tetradic
#4E2B89 #892B37 #66892B #2B897D
square
#4E2B89 #892B37 #66892B #2B897D
split-complementary
#4E2B89 #897D2B #37892B
monochromatic
#190E2C #331C5A #4E2B89 #693AB8 #8961CD

Accessibility & contrast

On white

10.34
#4E2B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4E2B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B89
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B89#FFFFFF#000000##FFFFFF
##4E2B891.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#3F4156
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e2b89;
/* rgb */ color: rgb(78, 43, 137);
/* oklch */ color: oklch(38.9% 0.148 295.8);
Tailwind
colors: {
  custom: {
    50: '#8567ac',
    500: '#4e2b89',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b89;
$custom-light: #8567ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b89",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 262.34,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38859,
    "c": 0.14826,
    "h": 295.8
  },
  "luminance": 0.05154
}

Semantic roles & 50–950 ramp

primary
#4E2B89
secondary
#93B35C
accent
#DC4CA6
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2B89

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

Preview Lab → · Contrast checker → · Palette generator →

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