#4E3190#4E3190

#4E3190 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.149 H 292.5°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#4E3190
RGBrgb(78, 49, 144)
HSLhsl(258, 49%, 38%)
HSVhsv(258, 66%, 56%)
CMYKcmyk(45.8%, 66%, 0%, 43.5%)
CIE-LABlab(28.98, 36.30, -48.13)
CIE-LCHlch(28.98, 60.28, 307.03°)
OKLaboklab(40.34% 0.057 -0.1376)
OKLCHoklch(40.34% 0.149 292.5)
XYZxyz(9.2729, 5.8297, 27.0168)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3190 #739031
analogous
#314390 #4E3190 #7D3190
triadic
#4E3190 #904E31 #31904E
tetradic
#4E3190 #903143 #739031 #31907D
square
#4E3190 #903143 #739031 #31907D
split-complementary
#4E3190 #907D31 #439031
monochromatic
#1D1235 #352162 #4E3190 #6741BE #8B6ECE

Accessibility & contrast

On white

9.70
#4E3190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4E3190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3190
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3190#FFFFFF#000000##FFFFFF
##4E31901.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#3B475C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e3190;
/* rgb */ color: rgb(78, 49, 144);
/* oklch */ color: oklch(40.3% 0.149 292.5);
Tailwind
colors: {
  custom: {
    50: '#856bb1',
    500: '#4e3190',
    950: '#000000',
  },
}
SCSS
$custom: #4e3190;
$custom-light: #856bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3190",
  "rgb": {
    "r": 78,
    "g": 49,
    "b": 144
  },
  "hsl": {
    "h": 258.316,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40339,
    "c": 0.1489,
    "h": 292.5
  },
  "luminance": 0.0583
}

Semantic roles & 50–950 ramp

primary
#4E3190
secondary
#9EB568
accent
#D94FAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3190

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

Preview Lab → · Contrast checker → · Palette generator →

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