#4E3583#4E3583

#4E3583 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.0% C 0.126 H 294.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#4E3583
RGBrgb(78, 53, 131)
HSLhsl(259, 42%, 36%)
HSVhsv(259, 60%, 51%)
CMYKcmyk(40.5%, 59.5%, 0%, 48.6%)
CIE-LABlab(28.91, 30.10, -40.17)
CIE-LCHlch(28.91, 50.19, 306.84°)
OKLaboklab(39.99% 0.0529 -0.1142)
OKLCHoklch(39.99% 0.126 294.8)
XYZxyz(8.5106, 5.8044, 22.1403)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3583 #6A8335
analogous
#354383 #4E3583 #753583
triadic
#4E3583 #834E35 #35834E
tetradic
#4E3583 #833543 #6A8335 #358375
square
#4E3583 #833543 #6A8335 #358375
split-complementary
#4E3583 #837535 #438335
monochromatic
#1A122C #342357 #4E3583 #6847AF #8A6EC4

Accessibility & contrast

On white

9.72
#4E3583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4E3583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3583
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3583#FFFFFF#000000##FFFFFF
##4E35831.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084586
Deuteranopia (green-blind)
#144381
Tritanopia (blue-blind)
#414656
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e3583;
/* rgb */ color: rgb(78, 53, 131);
/* oklch */ color: oklch(40.0% 0.126 294.8);
Tailwind
colors: {
  custom: {
    50: '#836da8',
    500: '#4e3583',
    950: '#000000',
  },
}
SCSS
$custom: #4e3583;
$custom-light: #836da8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3583",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 131
  },
  "hsl": {
    "h": 259.231,
    "s": 42.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39985,
    "c": 0.12582,
    "h": 294.8
  },
  "luminance": 0.05805
}

Semantic roles & 50–950 ramp

primary
#4E3583
secondary
#96AD67
accent
#D256AA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E3583

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

Preview Lab → · Contrast checker → · Palette generator →

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