#4E1691#4E1691

#4E1691 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.2% C 0.180 H 296.8°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#4E1691
RGBrgb(78, 22, 145)
HSLhsl(267, 74%, 33%)
HSVhsv(267, 85%, 57%)
CMYKcmyk(46.2%, 84.8%, 0%, 43.1%)
CIE-LABlab(24.44, 49.61, -56.16)
CIE-LCHlch(24.44, 74.93, 311.46°)
OKLaboklab(37.16% 0.0813 -0.161)
OKLCHoklch(37.16% 0.18 296.8)
XYZxyz(8.5383, 4.2377, 27.1507)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1691 #599116
analogous
#161B91 #4E1691 #8B1691
triadic
#4E1691 #914E16 #16914E
tetradic
#4E1691 #91161B #599116 #16918B
square
#4E1691 #91161B #599116 #16918B
split-complementary
#4E1691 #918B16 #1B9116
monochromatic
#150627 #310E5C #4E1691 #6B1EC6 #893FE2

Accessibility & contrast

On white

11.37
#4E1691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4E1691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1691
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1691#FFFFFF#000000##FFFFFF
##4E16911.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#3B3B56
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e1691;
/* rgb */ color: rgb(78, 22, 145);
/* oklch */ color: oklch(37.2% 0.180 296.8);
Tailwind
colors: {
  custom: {
    50: '#875cb2',
    500: '#4e1691',
    950: '#000000',
  },
}
SCSS
$custom: #4e1691;
$custom-light: #875cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1691",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 145
  },
  "hsl": {
    "h": 267.317,
    "s": 73.653,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37159,
    "c": 0.18035,
    "h": 296.8
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#4E1691
secondary
#87C241
accent
#F0379C
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #4E1691

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

Preview Lab → · Contrast checker → · Palette generator →

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