#4E3382#4E3382

#4E3382 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.6% C 0.128 H 295.8°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#4E3382
RGBrgb(78, 51, 130)
HSLhsl(261, 44%, 35%)
HSVhsv(261, 61%, 51%)
CMYKcmyk(40%, 60.8%, 0%, 49%)
CIE-LABlab(28.38, 31.03, -40.41)
CIE-LCHlch(28.38, 50.95, 307.52°)
OKLaboklab(39.57% 0.0555 -0.1149)
OKLCHoklch(39.57% 0.128 295.8)
XYZxyz(8.3539, 5.5989, 21.7553)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3382 #678233
analogous
#334082 #4E3382 #753382
triadic
#4E3382 #824E33 #33824E
tetradic
#4E3382 #823340 #678233 #338275
square
#4E3382 #823340 #678233 #338275
split-complementary
#4E3382 #827533 #408233
monochromatic
#19112A #342256 #4E3382 #6844AE #896BC5

Accessibility & contrast

On white

9.91
#4E3382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4E3382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3382
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3382#FFFFFF#000000##FFFFFF
##4E33821.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024385
Deuteranopia (green-blind)
#114280
Tritanopia (blue-blind)
#414455
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e3382;
/* rgb */ color: rgb(78, 51, 130);
/* oklch */ color: oklch(39.6% 0.128 295.8);
Tailwind
colors: {
  custom: {
    50: '#836ca7',
    500: '#4e3382',
    950: '#000000',
  },
}
SCSS
$custom: #4e3382;
$custom-light: #836ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3382",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 130
  },
  "hsl": {
    "h": 260.506,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39569,
    "c": 0.12758,
    "h": 295.8
  },
  "luminance": 0.05599
}

Semantic roles & 50–950 ramp

primary
#4E3382
secondary
#94AD64
accent
#D354A8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E3382

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

Preview Lab → · Contrast checker → · Palette generator →

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