#4E3480#4E3480

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

Color values

HEX#4E3480
RGBrgb(78, 52, 128)
HSLhsl(261, 42%, 35%)
HSVhsv(261, 59%, 50%)
CMYKcmyk(39.1%, 59.4%, 0%, 49.8%)
CIE-LABlab(28.47, 29.84, -39.01)
CIE-LCHlch(28.47, 49.11, 307.41°)
OKLaboklab(39.59% 0.0542 -0.1108)
OKLCHoklch(39.59% 0.123 296.1)
XYZxyz(8.2652, 5.6340, 21.0699)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3480 #668034
analogous
#344080 #4E3480 #743480
triadic
#4E3480 #804E34 #34804E
tetradic
#4E3480 #803440 #668034 #348074
square
#4E3480 #803440 #668034 #348074
split-complementary
#4E3480 #807434 #408034
monochromatic
#191129 #332254 #4E3480 #6946AC #896BC3

Accessibility & contrast

On white

9.87
#4E3480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3480
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3480#FFFFFF#000000##FFFFFF
##4E34801.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4483
Deuteranopia (green-blind)
#17427E
Tritanopia (blue-blind)
#424454
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e3480;
/* rgb */ color: rgb(78, 52, 128);
/* oklch */ color: oklch(39.6% 0.123 296.1);
Tailwind
colors: {
  custom: {
    50: '#836ca5',
    500: '#4e3480',
    950: '#000000',
  },
}
SCSS
$custom: #4e3480;
$custom-light: #836ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3480",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 128
  },
  "hsl": {
    "h": 260.526,
    "s": 42.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39592,
    "c": 0.12331,
    "h": 296.1
  },
  "luminance": 0.05634
}

Semantic roles & 50–950 ramp

primary
#4E3480
secondary
#93AB65
accent
#D256A8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E3480

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

Preview Lab → · Contrast checker → · Palette generator →

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