#4E1984#4E1984

#4E1984 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.164 H 300.6°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#4E1984
RGBrgb(78, 25, 132)
HSLhsl(270, 68%, 31%)
HSVhsv(270, 81%, 52%)
CMYKcmyk(40.9%, 81.1%, 0%, 48.2%)
CIE-LABlab(23.61, 45.19, -49.41)
CIE-LCHlch(23.61, 66.95, 312.45°)
OKLaboklab(36.21% 0.0835 -0.1412)
OKLCHoklch(36.21% 0.164 300.6)
XYZxyz(7.6533, 3.9808, 22.1905)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1984 #4F8419
analogous
#191984 #4E1984 #831984
triadic
#4E1984 #844E19 #19844E
tetradic
#4E1984 #841919 #4F8419 #198483
square
#4E1984 #841919 #4F8419 #198483
split-complementary
#4E1984 #848319 #198419
monochromatic
#11061D #300F51 #4E1984 #6C23B7 #8B3DDA

Accessibility & contrast

On white

11.69
#4E1984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4E1984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1984
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1984#FFFFFF#000000##FFFFFF
##4E19841.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003782
Tritanopia (blue-blind)
#41364F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e1984;
/* rgb */ color: rgb(78, 25, 132);
/* oklch */ color: oklch(36.2% 0.164 300.6);
Tailwind
colors: {
  custom: {
    50: '#855da9',
    500: '#4e1984',
    950: '#000000',
  },
}
SCSS
$custom: #4e1984;
$custom-light: #855da9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1984",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 269.72,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36206,
    "c": 0.16403,
    "h": 300.6
  },
  "luminance": 0.03981
}

Semantic roles & 50–950 ramp

primary
#4E1984
secondary
#7DB841
accent
#EB3D95
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #4E1984

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

Preview Lab → · Contrast checker → · Palette generator →

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