#4E3570#4E3570

#4E3570 is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.7% C 0.100 H 301.5°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#4E3570
RGBrgb(78, 53, 112)
HSLhsl(265, 36%, 32%)
HSVhsv(265, 53%, 44%)
CMYKcmyk(30.4%, 52.7%, 0%, 56.1%)
CIE-LABlab(27.67, 24.68, -30.18)
CIE-LCHlch(27.67, 38.98, 309.27°)
OKLaboklab(38.67% 0.052 -0.0849)
OKLCHoklch(38.67% 0.1 301.5)
XYZxyz(7.3390, 5.3357, 15.9694)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3570 #577035
analogous
#353970 #4E3570 #6C3570
triadic
#4E3570 #704E35 #35704E
tetradic
#4E3570 #703539 #577035 #35706C
square
#4E3570 #703539 #577035 #35706C
split-complementary
#4E3570 #706C35 #397035
monochromatic
#140E1D #312146 #4E3570 #6B499A #8A68B7

Accessibility & contrast

On white

10.16
#4E3570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4E3570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3570
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3570#FFFFFF#000000##FFFFFF
##4E35701.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224172
Deuteranopia (green-blind)
#28416F
Tritanopia (blue-blind)
#48404D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e3570;
/* rgb */ color: rgb(78, 53, 112);
/* oklch */ color: oklch(38.7% 0.100 301.5);
Tailwind
colors: {
  custom: {
    50: '#816d99',
    500: '#4e3570',
    950: '#000000',
  },
}
SCSS
$custom: #4e3570;
$custom-light: #816d99;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3570",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 112
  },
  "hsl": {
    "h": 265.424,
    "s": 35.758,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38666,
    "c": 0.09952,
    "h": 301.5
  },
  "luminance": 0.05336
}

Semantic roles & 50–950 ramp

primary
#4E3570
secondary
#85A061
accent
#CC5C9C
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070E
muted
#7C7A7E

Preview Lab

Preview with #4E3570

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

Preview Lab → · Contrast checker → · Palette generator →

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