#4E3296#4E3296

#4E3296 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.0% C 0.155 H 290.8°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#4E3296
RGBrgb(78, 50, 150)
HSLhsl(257, 50%, 39%)
HSVhsv(257, 67%, 59%)
CMYKcmyk(48%, 66.7%, 0%, 41.2%)
CIE-LABlab(29.67, 37.49, -50.69)
CIE-LCHlch(29.67, 63.05, 306.49°)
OKLaboklab(40.99% 0.0552 -0.1451)
OKLCHoklch(40.99% 0.155 290.8)
XYZxyz(9.7860, 6.1026, 29.5105)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3296 #7A9632
analogous
#324896 #4E3296 #803296
triadic
#4E3296 #964E32 #32964E
tetradic
#4E3296 #963248 #7A9632 #329680
square
#4E3296 #963248 #7A9632 #329680
split-complementary
#4E3296 #968032 #489632
monochromatic
#1E133A #362368 #4E3296 #6744C1 #8D72D0

Accessibility & contrast

On white

9.46
#4E3296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4E3296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3296
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3296#FFFFFF#000000##FFFFFF
##4E32961.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#374A5F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e3296;
/* rgb */ color: rgb(78, 50, 150);
/* oklch */ color: oklch(41.0% 0.155 290.8);
Tailwind
colors: {
  custom: {
    50: '#866cb6',
    500: '#4e3296',
    950: '#000000',
  },
}
SCSS
$custom: #4e3296;
$custom-light: #866cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3296",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 256.8,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40988,
    "c": 0.15524,
    "h": 290.8
  },
  "luminance": 0.06103
}

Semantic roles & 50–950 ramp

primary
#4E3296
secondary
#A3B86C
accent
#DA4EB3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3296

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

Preview Lab → · Contrast checker → · Palette generator →

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