#4E1083#4E1083

#4E1083 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.3% C 0.171 H 301.9°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#4E1083
RGBrgb(78, 16, 131)
HSLhsl(272, 78%, 29%)
HSVhsv(272, 88%, 51%)
CMYKcmyk(40.5%, 87.8%, 0%, 48.6%)
CIE-LABlab(22.40, 48.18, -50.75)
CIE-LCHlch(22.40, 69.98, 313.52°)
OKLaboklab(35.34% 0.0904 -0.1451)
OKLCHoklch(35.34% 0.171 301.9)
XYZxyz(7.4229, 3.6289, 21.7777)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1083 #458310
analogous
#151083 #4E1083 #83107F
triadic
#4E1083 #834E10 #10834E
tetradic
#4E1083 #831510 #458310 #107F83
square
#4E1083 #831510 #458310 #107F83
split-complementary
#4E1083 #7F8310 #108315
monochromatic
#10031B #2E094C #4E1083 #6E17BA #8E29E5

Accessibility & contrast

On white

12.17
#4E1083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4E1083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1083
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1083#FFFFFF#000000##FFFFFF
##4E10831.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#42324C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e1083;
/* rgb */ color: rgb(78, 16, 131);
/* oklch */ color: oklch(35.3% 0.171 301.9);
Tailwind
colors: {
  custom: {
    50: '#8659a8',
    500: '#4e1083',
    950: '#000000',
  },
}
SCSS
$custom: #4e1083;
$custom-light: #8659a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1083",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 272.348,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35343,
    "c": 0.17092,
    "h": 301.9
  },
  "luminance": 0.03629
}

Semantic roles & 50–950 ramp

primary
#4E1083
secondary
#72B936
accent
#F5338C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #4E1083

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

Preview Lab → · Contrast checker → · Palette generator →

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