#4E368E#4E368E

#4E368E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.0% C 0.139 H 291.6°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#4E368E
RGBrgb(78, 54, 142)
HSLhsl(256, 45%, 38%)
HSVhsv(256, 62%, 56%)
CMYKcmyk(45.1%, 62%, 0%, 44.3%)
CIE-LABlab(29.94, 32.74, -45.34)
CIE-LCHlch(29.94, 55.93, 305.83°)
OKLaboklab(40.99% 0.0513 -0.1294)
OKLCHoklch(40.99% 0.139 291.6)
XYZxyz(9.3422, 6.2107, 26.2925)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E368E #768E36
analogous
#364A8E #4E368E #7A368E
triadic
#4E368E #8E4E36 #368E4E
tetradic
#4E368E #8E364A #768E36 #368E7A
square
#4E368E #8E364A #768E36 #368E7A
split-complementary
#4E368E #8E7A36 #4A8E36
monochromatic
#1D1435 #362562 #4E368E #6748B9 #8C74CA

Accessibility & contrast

On white

9.37
#4E368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4E368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E368E
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E368E#FFFFFF#000000##FFFFFF
##4E368E1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#3C4A5C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e368e;
/* rgb */ color: rgb(78, 54, 142);
/* oklch */ color: oklch(41.0% 0.139 291.6);
Tailwind
colors: {
  custom: {
    50: '#856eb0',
    500: '#4e368e',
    950: '#000000',
  },
}
SCSS
$custom: #4e368e;
$custom-light: #856eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e368e",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 256.364,
    "s": 44.898,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40988,
    "c": 0.13918,
    "h": 291.6
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

primary
#4E368E
secondary
#A0B36D
accent
#D553B1
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E368E

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

Preview Lab → · Contrast checker → · Palette generator →

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