#4E3290#4E3290

#4E3290 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.5% C 0.148 H 292.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#4E3290
RGBrgb(78, 50, 144)
HSLhsl(258, 48%, 38%)
HSVhsv(258, 65%, 56%)
CMYKcmyk(45.8%, 65.3%, 0%, 43.5%)
CIE-LABlab(29.20, 35.72, -47.78)
CIE-LCHlch(29.20, 59.65, 306.78°)
OKLaboklab(40.49% 0.0558 -0.1365)
OKLCHoklch(40.49% 0.148 292.2)
XYZxyz(9.3151, 5.9142, 27.0309)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3290 #749032
analogous
#324590 #4E3290 #7D3290
triadic
#4E3290 #904E32 #32904E
tetradic
#4E3290 #903245 #749032 #32907D
square
#4E3290 #903245 #749032 #32907D
split-complementary
#4E3290 #907D32 #459032
monochromatic
#1D1235 #352263 #4E3290 #6742BD #8B6FCD

Accessibility & contrast

On white

9.62
#4E3290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4E3290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3290
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3290#FFFFFF#000000##FFFFFF
##4E32901.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#3B485C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e3290;
/* rgb */ color: rgb(78, 50, 144);
/* oklch */ color: oklch(40.5% 0.148 292.2);
Tailwind
colors: {
  custom: {
    50: '#856bb1',
    500: '#4e3290',
    950: '#000000',
  },
}
SCSS
$custom: #4e3290;
$custom-light: #856bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3290",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 144
  },
  "hsl": {
    "h": 257.872,
    "s": 48.454,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40495,
    "c": 0.14752,
    "h": 292.2
  },
  "luminance": 0.05915
}

Semantic roles & 50–950 ramp

primary
#4E3290
secondary
#9EB569
accent
#D850AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3290

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

Preview Lab → · Contrast checker → · Palette generator →

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