#4E3489#4E3489

#4E3489 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.3% C 0.135 H 293.5°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#4E3489
RGBrgb(78, 52, 137)
HSLhsl(258, 45%, 37%)
HSVhsv(258, 62%, 54%)
CMYKcmyk(43.1%, 62%, 0%, 46.3%)
CIE-LABlab(29.11, 32.47, -43.58)
CIE-LCHlch(29.11, 54.35, 306.68°)
OKLaboklab(40.27% 0.054 -0.1242)
OKLCHoklch(40.27% 0.135 293.5)
XYZxyz(8.8840, 5.8816, 24.3292)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3489 #6F8934
analogous
#344489 #4E3489 #793489
triadic
#4E3489 #894E34 #34894E
tetradic
#4E3489 #893444 #6F8934 #348979
square
#4E3489 #893444 #6F8934 #348979
split-complementary
#4E3489 #897934 #448934
monochromatic
#1B1230 #35235D #4E3489 #6745B5 #8A6FC8

Accessibility & contrast

On white

9.65
#4E3489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4E3489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3489
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3489#FFFFFF#000000##FFFFFF
##4E34891.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#024387
Tritanopia (blue-blind)
#3E4759
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e3489;
/* rgb */ color: rgb(78, 52, 137);
/* oklch */ color: oklch(40.3% 0.135 293.5);
Tailwind
colors: {
  custom: {
    50: '#846dac',
    500: '#4e3489',
    950: '#000000',
  },
}
SCSS
$custom: #4e3489;
$custom-light: #846dac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3489",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 137
  },
  "hsl": {
    "h": 258.353,
    "s": 44.974,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40267,
    "c": 0.13544,
    "h": 293.5
  },
  "luminance": 0.05882
}

Semantic roles & 50–950 ramp

primary
#4E3489
secondary
#9AB068
accent
#D553AD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E3489

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

Preview Lab → · Contrast checker → · Palette generator →

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