#4E3295#4E3295

#4E3295 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.9% C 0.154 H 291.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#4E3295
RGBrgb(78, 50, 149)
HSLhsl(257, 50%, 39%)
HSVhsv(257, 66%, 58%)
CMYKcmyk(47.7%, 66.4%, 0%, 41.6%)
CIE-LABlab(29.59, 37.20, -50.21)
CIE-LCHlch(29.59, 62.49, 306.53°)
OKLaboklab(40.91% 0.0553 -0.1437)
OKLCHoklch(40.91% 0.154 291)
XYZxyz(9.7058, 6.0705, 29.0883)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3295 #799532
analogous
#324895 #4E3295 #803295
triadic
#4E3295 #954E32 #32954E
tetradic
#4E3295 #953248 #799532 #329580
square
#4E3295 #953248 #799532 #329580
split-complementary
#4E3295 #958032 #489532
monochromatic
#1E1339 #362367 #4E3295 #6744C0 #8C72D0

Accessibility & contrast

On white

9.48
#4E3295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4E3295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3295
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3295#FFFFFF#000000##FFFFFF
##4E32951.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#384A5F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e3295;
/* rgb */ color: rgb(78, 50, 149);
/* oklch */ color: oklch(40.9% 0.154 291.0);
Tailwind
colors: {
  custom: {
    50: '#866cb5',
    500: '#4e3295',
    950: '#000000',
  },
}
SCSS
$custom: #4e3295;
$custom-light: #866cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3295",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 149
  },
  "hsl": {
    "h": 256.97,
    "s": 49.749,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40905,
    "c": 0.15396,
    "h": 291
  },
  "luminance": 0.06071
}

Semantic roles & 50–950 ramp

primary
#4E3295
secondary
#A2B86B
accent
#D94FB2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3295

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

Preview Lab → · Contrast checker → · Palette generator →

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