#4E2081#4E2081

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

Color values

HEX#4E2081
RGBrgb(78, 32, 129)
HSLhsl(268, 60%, 32%)
HSVhsv(268, 75%, 51%)
CMYKcmyk(39.5%, 75.2%, 0%, 49.4%)
CIE-LABlab(24.44, 41.28, -46.16)
CIE-LCHlch(24.44, 61.92, 311.81°)
OKLaboklab(36.71% 0.0778 -0.1317)
OKLCHoklch(36.71% 0.153 300.6)
XYZxyz(7.6199, 4.2376, 21.1811)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2081 #538120
analogous
#202381 #4E2081 #7F2081
triadic
#4E2081 #814E20 #20814E
tetradic
#4E2081 #812023 #538120 #20817F
square
#4E2081 #812023 #538120 #20817F
split-complementary
#4E2081 #817F20 #238120
monochromatic
#13081F #301450 #4E2081 #6C2CB2 #8A49D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E2081#FFFFFF#000000##FFFFFF
##4E20811.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)
#003A84
Deuteranopia (green-blind)
#00397F
Tritanopia (blue-blind)
#42384E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2081;
/* rgb */ color: rgb(78, 32, 129);
/* oklch */ color: oklch(36.7% 0.153 300.6);
Tailwind
colors: {
  custom: {
    50: '#8560a6',
    500: '#4e2081',
    950: '#000000',
  },
}
SCSS
$custom: #4e2081;
$custom-light: #8560a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2081",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 129
  },
  "hsl": {
    "h": 268.454,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3671,
    "c": 0.15297,
    "h": 300.6
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#4E2081
secondary
#81B449
accent
#E34498
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4E2081

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

Preview Lab → · Contrast checker → · Palette generator →

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