#4E2083#4E2083

#4E2083 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.155 H 299.9°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#4E2083
RGBrgb(78, 32, 131)
HSLhsl(268, 61%, 32%)
HSVhsv(268, 76%, 51%)
CMYKcmyk(40.5%, 75.6%, 0%, 48.6%)
CIE-LABlab(24.61, 41.80, -47.14)
CIE-LCHlch(24.61, 63.00, 311.57°)
OKLaboklab(36.88% 0.0773 -0.1346)
OKLCHoklch(36.88% 0.155 299.9)
XYZxyz(7.7541, 4.2913, 21.8881)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2083 #558320
analogous
#202483 #4E2083 #802083
triadic
#4E2083 #834E20 #20834E
tetradic
#4E2083 #832024 #558320 #208380
square
#4E2083 #832024 #558320 #208380
split-complementary
#4E2083 #838020 #248320
monochromatic
#130821 #311452 #4E2083 #6B2CB4 #8A4AD3

Accessibility & contrast

On white

11.30
#4E2083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4E2083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2083
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2083#FFFFFF#000000##FFFFFF
##4E20831.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#423950
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2083;
/* rgb */ color: rgb(78, 32, 131);
/* oklch */ color: oklch(36.9% 0.155 299.9);
Tailwind
colors: {
  custom: {
    50: '#8560a8',
    500: '#4e2083',
    950: '#000000',
  },
}
SCSS
$custom: #4e2083;
$custom-light: #8560a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2083",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 267.879,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36883,
    "c": 0.15524,
    "h": 299.9
  },
  "luminance": 0.04291
}

Semantic roles & 50–950 ramp

primary
#4E2083
secondary
#83B649
accent
#E4449A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4E2083

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

Preview Lab → · Contrast checker → · Palette generator →

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