#4E2E89#4E2E89

#4E2E89 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.3% C 0.144 H 295.1°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#4E2E89
RGBrgb(78, 46, 137)
HSLhsl(261, 50%, 36%)
HSVhsv(261, 66%, 54%)
CMYKcmyk(43.1%, 66.4%, 0%, 46.3%)
CIE-LABlab(27.79, 36.01, -45.72)
CIE-LCHlch(27.79, 58.20, 308.22°)
OKLaboklab(39.31% 0.0611 -0.1305)
OKLCHoklch(39.31% 0.144 295.1)
XYZxyz(8.6330, 5.3796, 24.2456)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E89 #69892E
analogous
#2E3B89 #4E2E89 #7B2E89
triadic
#4E2E89 #894E2E #2E894E
tetradic
#4E2E89 #892E3B #69892E #2E897B
square
#4E2E89 #892E3B #69892E #2E897B
split-complementary
#4E2E89 #897B2E #3B892E
monochromatic
#1A0F2D #341F5B #4E2E89 #683DB7 #8A66CC

Accessibility & contrast

On white

10.12
#4E2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4E2E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E89
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E89#FFFFFF#000000##FFFFFF
##4E2E891.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2e89;
/* rgb */ color: rgb(78, 46, 137);
/* oklch */ color: oklch(39.3% 0.144 295.1);
Tailwind
colors: {
  custom: {
    50: '#8569ac',
    500: '#4e2e89',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e89;
$custom-light: #8569ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e89",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 261.099,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39307,
    "c": 0.14412,
    "h": 295.1
  },
  "luminance": 0.0538
}

Semantic roles & 50–950 ramp

primary
#4E2E89
secondary
#96B260
accent
#D94FA8
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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