#4E1983#4E1983

#4E1983 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.163 H 300.9°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#4E1983
RGBrgb(78, 25, 131)
HSLhsl(270, 68%, 31%)
HSVhsv(270, 81%, 51%)
CMYKcmyk(40.5%, 80.9%, 0%, 48.6%)
CIE-LABlab(23.52, 44.93, -48.93)
CIE-LCHlch(23.52, 66.43, 312.56°)
OKLaboklab(36.12% 0.0838 -0.1398)
OKLCHoklch(36.12% 0.163 300.9)
XYZxyz(7.5852, 3.9536, 21.8318)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1983 #4E8319
analogous
#191983 #4E1983 #831983
triadic
#4E1983 #834E19 #19834E
tetradic
#4E1983 #831919 #4E8319 #198383
square
#4E1983 #831919 #4E8319 #198383
split-complementary
#4E1983 #838319 #198319
monochromatic
#11051C #2F0F50 #4E1983 #6D23B6 #8B3DDA

Accessibility & contrast

On white

11.73
#4E1983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4E1983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1983
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1983#FFFFFF#000000##FFFFFF
##4E19831.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#42364E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e1983;
/* rgb */ color: rgb(78, 25, 131);
/* oklch */ color: oklch(36.1% 0.163 300.9);
Tailwind
colors: {
  custom: {
    50: '#855da8',
    500: '#4e1983',
    950: '#000000',
  },
}
SCSS
$custom: #4e1983;
$custom-light: #855da8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1983",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 270,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36115,
    "c": 0.16297,
    "h": 300.9
  },
  "luminance": 0.03954
}

Semantic roles & 50–950 ramp

primary
#4E1983
secondary
#7CB741
accent
#EB3D94
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #4E1983

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

Preview Lab → · Contrast checker → · Palette generator →

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