#4E3572#4E3572

#4E3572 is a dark, moderate violet. Relative luminance 0.054; OKLCH L 38.8% C 0.102 H 300.6°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#4E3572
RGBrgb(78, 53, 114)
HSLhsl(265, 37%, 33%)
HSVhsv(265, 54%, 45%)
CMYKcmyk(31.6%, 53.5%, 0%, 55.3%)
CIE-LABlab(27.79, 25.23, -31.26)
CIE-LCHlch(27.79, 40.17, 308.91°)
OKLaboklab(38.8% 0.0522 -0.088)
OKLCHoklch(38.8% 0.102 300.6)
XYZxyz(7.4515, 5.3808, 16.5623)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3572 #597235
analogous
#353A72 #4E3572 #6C3572
triadic
#4E3572 #724E35 #35724E
tetradic
#4E3572 #72353A #597235 #35726C
square
#4E3572 #72353A #597235 #35726C
split-complementary
#4E3572 #726C35 #3A7235
monochromatic
#150E1E #312248 #4E3572 #6B489C #8968B9

Accessibility & contrast

On white

10.11
#4E3572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4E3572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3572
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3572#FFFFFF#000000##FFFFFF
##4E35721.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204174
Deuteranopia (green-blind)
#274171
Tritanopia (blue-blind)
#47404E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e3572;
/* rgb */ color: rgb(78, 53, 114);
/* oklch */ color: oklch(38.8% 0.102 300.6);
Tailwind
colors: {
  custom: {
    50: '#826d9b',
    500: '#4e3572',
    950: '#000000',
  },
}
SCSS
$custom: #4e3572;
$custom-light: #826d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3572",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 114
  },
  "hsl": {
    "h": 264.59,
    "s": 36.527,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38797,
    "c": 0.10233,
    "h": 300.6
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#4E3572
secondary
#87A261
accent
#CD5B9E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070E
muted
#7C7A7E

Preview Lab

Preview with #4E3572

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

Preview Lab → · Contrast checker → · Palette generator →

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