#4E2990#4E2990

#4E2990 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.159 H 294.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#4E2990
RGBrgb(78, 41, 144)
HSLhsl(262, 56%, 36%)
HSVhsv(262, 72%, 56%)
CMYKcmyk(45.8%, 71.5%, 0%, 43.5%)
CIE-LABlab(27.35, 40.77, -50.78)
CIE-LCHlch(27.35, 65.12, 308.76°)
OKLaboklab(39.17% 0.0655 -0.1453)
OKLCHoklch(39.17% 0.159 294.3)
XYZxyz(8.9675, 5.2189, 26.9150)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2990 #6B9029
analogous
#293890 #4E2990 #822990
triadic
#4E2990 #904E29 #29904E
tetradic
#4E2990 #902938 #6B9029 #299082
square
#4E2990 #902938 #6B9029 #299082
split-complementary
#4E2990 #908229 #389029
monochromatic
#1A0E31 #341B60 #4E2990 #6837C0 #8A61D2

Accessibility & contrast

On white

10.27
#4E2990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4E2990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2990
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2990#FFFFFF#000000##FFFFFF
##4E29901.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#3B4359
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e2990;
/* rgb */ color: rgb(78, 41, 144);
/* oklch */ color: oklch(39.2% 0.159 294.3);
Tailwind
colors: {
  custom: {
    50: '#8666b1',
    500: '#4e2990',
    950: '#000000',
  },
}
SCSS
$custom: #4e2990;
$custom-light: #8666b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2990",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 261.553,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39169,
    "c": 0.15944,
    "h": 294.3
  },
  "luminance": 0.05219
}

Semantic roles & 50–950 ramp

primary
#4E2990
secondary
#97B85D
accent
#DF49A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2990

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

Preview Lab → · Contrast checker → · Palette generator →

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