#4E1690#4E1690

#4E1690 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.1% C 0.179 H 297.1°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#4E1690
RGBrgb(78, 22, 144)
HSLhsl(268, 73%, 33%)
HSVhsv(268, 85%, 56%)
CMYKcmyk(45.8%, 84.7%, 0%, 43.5%)
CIE-LABlab(24.34, 49.36, -55.70)
CIE-LCHlch(24.34, 74.42, 311.55°)
OKLaboklab(37.06% 0.0817 -0.1596)
OKLCHoklch(37.06% 0.179 297.1)
XYZxyz(8.4615, 4.2070, 26.7464)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1690 #589016
analogous
#161B90 #4E1690 #8B1690
triadic
#4E1690 #904E16 #16904E
tetradic
#4E1690 #90161B #589016 #16908B
square
#4E1690 #90161B #589016 #16908B
split-complementary
#4E1690 #908B16 #1B9016
monochromatic
#140626 #310E5B #4E1690 #6B1EC5 #8A3FE2

Accessibility & contrast

On white

11.40
#4E1690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4E1690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1690
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1690#FFFFFF#000000##FFFFFF
##4E16901.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#3C3A55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e1690;
/* rgb */ color: rgb(78, 22, 144);
/* oklch */ color: oklch(37.1% 0.179 297.1);
Tailwind
colors: {
  custom: {
    50: '#875cb2',
    500: '#4e1690',
    950: '#000000',
  },
}
SCSS
$custom: #4e1690;
$custom-light: #875cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1690",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 267.541,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37062,
    "c": 0.17932,
    "h": 297.1
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

primary
#4E1690
secondary
#86C240
accent
#F0389B
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #4E1690

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

Preview Lab → · Contrast checker → · Palette generator →

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