#4E3370#4E3370

#4E3370 is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.3% C 0.103 H 302.2°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#4E3370
RGBrgb(78, 51, 112)
HSLhsl(267, 37%, 32%)
HSVhsv(267, 54%, 44%)
CMYKcmyk(30.4%, 54.5%, 0%, 56.1%)
CIE-LABlab(27.18, 25.93, -30.96)
CIE-LCHlch(27.18, 40.39, 309.95°)
OKLaboklab(38.3% 0.0549 -0.0872)
OKLCHoklch(38.3% 0.103 302.2)
XYZxyz(7.2497, 5.1572, 15.9396)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3370 #557033
analogous
#333770 #4E3370 #6D3370
triadic
#4E3370 #704E33 #33704E
tetradic
#4E3370 #703337 #557033 #33706D
square
#4E3370 #703337 #557033 #33706D
split-complementary
#4E3370 #706D33 #377033
monochromatic
#130D1C #312046 #4E3370 #6B469A #8A65B9

Accessibility & contrast

On white

10.34
#4E3370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4E3370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3370
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3370#FFFFFF#000000##FFFFFF
##4E33701.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4072
Deuteranopia (green-blind)
#26406F
Tritanopia (blue-blind)
#483E4C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e3370;
/* rgb */ color: rgb(78, 51, 112);
/* oklch */ color: oklch(38.3% 0.103 302.2);
Tailwind
colors: {
  custom: {
    50: '#826b99',
    500: '#4e3370',
    950: '#000000',
  },
}
SCSS
$custom: #4e3370;
$custom-light: #826b99;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3370",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 266.557,
    "s": 37.423,
    "l": 31.961
  },
  "oklch": {
    "l": 0.383,
    "c": 0.10304,
    "h": 302.2
  },
  "luminance": 0.05157
}

Semantic roles & 50–950 ramp

primary
#4E3370
secondary
#83A15E
accent
#CD5A9A
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070E
muted
#7C7A7E

Preview Lab

Preview with #4E3370

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

Preview Lab → · Contrast checker → · Palette generator →

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