#4E1990#4E1990

#4E1990 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.177 H 296.8°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#4E1990
RGBrgb(78, 25, 144)
HSLhsl(267, 70%, 33%)
HSVhsv(267, 83%, 56%)
CMYKcmyk(45.8%, 82.6%, 0%, 43.5%)
CIE-LABlab(24.73, 48.24, -55.07)
CIE-LCHlch(24.73, 73.20, 311.22°)
OKLaboklab(37.33% 0.0796 -0.1578)
OKLCHoklch(37.33% 0.177 296.8)
XYZxyz(8.5222, 4.3284, 26.7666)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1990 #5B9019
analogous
#191F90 #4E1990 #891990
triadic
#4E1990 #904E19 #19904E
tetradic
#4E1990 #90191F #5B9019 #199089
square
#4E1990 #90191F #5B9019 #199089
split-complementary
#4E1990 #908919 #1F9019
monochromatic
#160728 #32105C #4E1990 #6A22C4 #8945DF

Accessibility & contrast

On white

11.26
#4E1990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4E1990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1990
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1990#FFFFFF#000000##FFFFFF
##4E19901.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#3C3B55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e1990;
/* rgb */ color: rgb(78, 25, 144);
/* oklch */ color: oklch(37.3% 0.177 296.8);
Tailwind
colors: {
  custom: {
    50: '#875db2',
    500: '#4e1990',
    950: '#000000',
  },
}
SCSS
$custom: #4e1990;
$custom-light: #875db2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1990",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 266.723,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37328,
    "c": 0.17675,
    "h": 296.8
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#4E1990
secondary
#89C045
accent
#ED3B9E
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4E1990

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

Preview Lab → · Contrast checker → · Palette generator →

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