#4E4571#4E4571

#4E4571 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 41.9% C 0.073 H 292.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#4E4571
RGBrgb(78, 69, 113)
HSLhsl(252, 24%, 36%)
HSVhsv(252, 39%, 44%)
CMYKcmyk(31%, 38.9%, 0%, 55.7%)
CIE-LABlab(31.96, 14.65, -24.04)
CIE-LCHlch(31.96, 28.15, 301.36°)
OKLaboklab(41.92% 0.0276 -0.0671)
OKLCHoklch(41.92% 0.073 292.4)
XYZxyz(8.2499, 7.0681, 16.5492)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4571 #687145
analogous
#455271 #4E4571 #644571
triadic
#4E4571 #714E45 #45714E
tetradic
#4E4571 #714552 #687145 #457164
square
#4E4571 #714552 #687145 #457164
split-complementary
#4E4571 #716445 #527145
monochromatic
#1A1725 #342E4B #4E4571 #685C97 #8A7FB1

Accessibility & contrast

On white

8.70
#4E4571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4E4571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4571
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4571#FFFFFF#000000##FFFFFF
##4E45711.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394C73
Deuteranopia (green-blind)
#394A70
Tritanopia (blue-blind)
#464D55
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4571;
/* rgb */ color: rgb(78, 69, 113);
/* oklch */ color: oklch(41.9% 0.073 292.4);
Tailwind
colors: {
  custom: {
    50: '#81789a',
    500: '#4e4571',
    950: '#000000',
  },
}
SCSS
$custom: #4e4571;
$custom-light: #81789a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4571",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 113
  },
  "hsl": {
    "h": 252.273,
    "s": 24.176,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4192,
    "c": 0.07253,
    "h": 292.4
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

primary
#4E4571
secondary
#959D75
accent
#C167AE
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4571

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

Preview Lab → · Contrast checker → · Palette generator →

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