#4E3481#4E3481

#4E3481 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.7% C 0.125 H 295.8°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#4E3481
RGBrgb(78, 52, 129)
HSLhsl(260, 43%, 35%)
HSVhsv(260, 60%, 51%)
CMYKcmyk(39.5%, 59.7%, 0%, 49.4%)
CIE-LABlab(28.54, 30.13, -39.52)
CIE-LCHlch(28.54, 49.70, 307.32°)
OKLaboklab(39.67% 0.0542 -0.1123)
OKLCHoklch(39.67% 0.125 295.8)
XYZxyz(8.3313, 5.6605, 21.4183)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3481 #678134
analogous
#344081 #4E3481 #743481
triadic
#4E3481 #814E34 #34814E
tetradic
#4E3481 #813440 #678134 #348174
square
#4E3481 #813440 #678134 #348174
split-complementary
#4E3481 #817434 #408134
monochromatic
#19112A #342255 #4E3481 #6846AD #896CC4

Accessibility & contrast

On white

9.85
#4E3481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4E3481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3481
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3481#FFFFFF#000000##FFFFFF
##4E34811.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094484
Deuteranopia (green-blind)
#15427F
Tritanopia (blue-blind)
#424455
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e3481;
/* rgb */ color: rgb(78, 52, 129);
/* oklch */ color: oklch(39.7% 0.125 295.8);
Tailwind
colors: {
  custom: {
    50: '#836ca6',
    500: '#4e3481',
    950: '#000000',
  },
}
SCSS
$custom: #4e3481;
$custom-light: #836ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3481",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 129
  },
  "hsl": {
    "h": 260.26,
    "s": 42.541,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39666,
    "c": 0.12467,
    "h": 295.8
  },
  "luminance": 0.05661
}

Semantic roles & 50–950 ramp

primary
#4E3481
secondary
#94AC65
accent
#D255A8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E3481

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

Preview Lab → · Contrast checker → · Palette generator →

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