#4E3564#4E3564

#4E3564 is a dark, moderate violet. Relative luminance 0.051; OKLCH L 37.9% C 0.083 H 307.4°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#4E3564
RGBrgb(78, 53, 100)
HSLhsl(272, 31%, 30%)
HSVhsv(272, 47%, 39%)
CMYKcmyk(22%, 47%, 0%, 60.8%)
CIE-LABlab(26.98, 21.44, -23.57)
CIE-LCHlch(26.98, 31.87, 312.29°)
OKLaboklab(37.92% 0.0502 -0.0656)
OKLCHoklch(37.92% 0.083 307.4)
XYZxyz(6.7148, 5.0861, 12.6821)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3564 #4B6435
analogous
#373564 #4E3564 #643562
triadic
#4E3564 #644E35 #35644E
tetradic
#4E3564 #643735 #4B6435 #356264
square
#4E3564 #643735 #4B6435 #356264
split-complementary
#4E3564 #626435 #356437
monochromatic
#100B14 #2F203C #4E3564 #6D4A8C #8C66AE

Accessibility & contrast

On white

10.41
#4E3564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4E3564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3564
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3564#FFFFFF#000000##FFFFFF
##4E35641.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3F66
Deuteranopia (green-blind)
#304063
Tritanopia (blue-blind)
#4B3D47
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e3564;
/* rgb */ color: rgb(78, 53, 100);
/* oklch */ color: oklch(37.9% 0.083 307.4);
Tailwind
colors: {
  custom: {
    50: '#816d90',
    500: '#4e3564',
    950: '#000000',
  },
}
SCSS
$custom: #4e3564;
$custom-light: #816d90;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3564",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 100
  },
  "hsl": {
    "h": 271.915,
    "s": 30.719,
    "l": 30
  },
  "oklch": {
    "l": 0.37924,
    "c": 0.08266,
    "h": 307.4
  },
  "luminance": 0.05086
}

Semantic roles & 50–950 ramp

primary
#4E3564
secondary
#799560
accent
#C76191
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A070C
muted
#7C7A7D

Preview Lab

Preview with #4E3564

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

Preview Lab → · Contrast checker → · Palette generator →

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