#4E3D72#4E3D72

#4E3D72 is a dark, moderate violet. Relative luminance 0.062; OKLCH L 40.3% C 0.088 H 297.1°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#4E3D72
RGBrgb(78, 61, 114)
HSLhsl(259, 30%, 34%)
HSVhsv(259, 46%, 45%)
CMYKcmyk(31.6%, 46.5%, 0%, 55.3%)
CIE-LABlab(29.84, 20.12, -28.01)
CIE-LCHlch(29.84, 34.49, 305.70°)
OKLaboklab(40.33% 0.0401 -0.0786)
OKLCHoklch(40.33% 0.088 297.1)
XYZxyz(7.8472, 6.1720, 16.6942)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3D72 #61723D
analogous
#3D4772 #4E3D72 #693D72
triadic
#4E3D72 #724E3D #3D724E
tetradic
#4E3D72 #723D47 #61723D #3D7269
square
#4E3D72 #723D47 #61723D #3D7269
split-complementary
#4E3D72 #72693D #47723D
monochromatic
#171222 #33284A #4E3D72 #69529A #8975B5

Accessibility & contrast

On white

9.40
#4E3D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4E3D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3D72
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3D72#FFFFFF#000000##FFFFFF
##4E3D721.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4674
Deuteranopia (green-blind)
#304671
Tritanopia (blue-blind)
#464752
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e3d72;
/* rgb */ color: rgb(78, 61, 114);
/* oklch */ color: oklch(40.3% 0.088 297.1);
Tailwind
colors: {
  custom: {
    50: '#81729b',
    500: '#4e3d72',
    950: '#000000',
  },
}
SCSS
$custom: #4e3d72;
$custom-light: #81729b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3d72",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 114
  },
  "hsl": {
    "h": 259.245,
    "s": 30.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4033,
    "c": 0.08822,
    "h": 297.1
  },
  "luminance": 0.06172
}

Semantic roles & 50–950 ramp

primary
#4E3D72
secondary
#8F9F6C
accent
#C761A6
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E3D72

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

Preview Lab → · Contrast checker → · Palette generator →

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