#4E2D89#4E2D89

#4E2D89 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.146 H 295.3°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4E2D89
RGBrgb(78, 45, 137)
HSLhsl(262, 51%, 36%)
HSVhsv(262, 67%, 54%)
CMYKcmyk(43.1%, 67.2%, 0%, 46.3%)
CIE-LABlab(27.58, 36.58, -46.07)
CIE-LCHlch(27.58, 58.82, 308.45°)
OKLaboklab(39.16% 0.0623 -0.1315)
OKLCHoklch(39.16% 0.146 295.3)
XYZxyz(8.5944, 5.3024, 24.2327)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D89 #68892D
analogous
#2D3A89 #4E2D89 #7C2D89
triadic
#4E2D89 #894E2D #2D894E
tetradic
#4E2D89 #892D3A #68892D #2D897C
square
#4E2D89 #892D3A #68892D #2D897C
split-complementary
#4E2D89 #897C2D #3A892D
monochromatic
#1A0F2D #341E5B #4E2D89 #683CB7 #8A64CC

Accessibility & contrast

On white

10.19
#4E2D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4E2D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D89
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D89#FFFFFF#000000##FFFFFF
##4E2D891.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#3E4357
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e2d89;
/* rgb */ color: rgb(78, 45, 137);
/* oklch */ color: oklch(39.2% 0.146 295.3);
Tailwind
colors: {
  custom: {
    50: '#8568ac',
    500: '#4e2d89',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d89;
$custom-light: #8568ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d89",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 261.522,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39155,
    "c": 0.14552,
    "h": 295.3
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

primary
#4E2D89
secondary
#95B35F
accent
#DA4EA8
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2D89

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

Preview Lab → · Contrast checker → · Palette generator →

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