#4E3973#4E3973

#4E3973 is a dark, moderate violet. Relative luminance 0.058; OKLCH L 39.6% C 0.097 H 298.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#4E3973
RGBrgb(78, 57, 115)
HSLhsl(262, 34%, 34%)
HSVhsv(262, 50%, 45%)
CMYKcmyk(32.2%, 50.4%, 0%, 54.9%)
CIE-LABlab(28.86, 22.98, -30.20)
CIE-LCHlch(28.86, 37.94, 307.27°)
OKLaboklab(39.61% 0.0463 -0.0849)
OKLCHoklch(39.61% 0.097 298.6)
XYZxyz(7.6988, 5.7837, 16.9271)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3973 #5E7339
analogous
#394173 #4E3973 #6B3973
triadic
#4E3973 #734E39 #39734E
tetradic
#4E3973 #733941 #5E7339 #39736B
square
#4E3973 #733941 #5E7339 #39736B
split-complementary
#4E3973 #736B39 #417339
monochromatic
#161021 #32254A #4E3973 #6A4D9C #896FB8

Accessibility & contrast

On white

9.74
#4E3973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4E3973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3973
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3973#FFFFFF#000000##FFFFFF
##4E39731.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264475
Deuteranopia (green-blind)
#2B4472
Tritanopia (blue-blind)
#464450
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e3973;
/* rgb */ color: rgb(78, 57, 115);
/* oklch */ color: oklch(39.6% 0.097 298.6);
Tailwind
colors: {
  custom: {
    50: '#81709b',
    500: '#4e3973',
    950: '#000000',
  },
}
SCSS
$custom: #4e3973;
$custom-light: #81709b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3973",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 115
  },
  "hsl": {
    "h": 261.724,
    "s": 33.721,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39612,
    "c": 0.09675,
    "h": 298.6
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#4E3973
secondary
#8CA167
accent
#CA5EA3
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0A070E
muted
#7C7A7E

Preview Lab

Preview with #4E3973

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

Preview Lab → · Contrast checker → · Palette generator →

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