#4E3566#4E3566

#4E3566 is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.0% C 0.085 H 306.3°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#4E3566
RGBrgb(78, 53, 102)
HSLhsl(271, 32%, 30%)
HSVhsv(271, 48%, 40%)
CMYKcmyk(23.5%, 48%, 0%, 60%)
CIE-LABlab(27.09, 21.97, -24.69)
CIE-LCHlch(27.09, 33.05, 311.67°)
OKLaboklab(38.04% 0.0506 -0.0689)
OKLCHoklch(38.04% 0.085 306.3)
XYZxyz(6.8128, 5.1253, 13.1982)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3566 #4D6635
analogous
#353566 #4E3566 #663565
triadic
#4E3566 #664E35 #35664E
tetradic
#4E3566 #663535 #4D6635 #356566
square
#4E3566 #663535 #4D6635 #356566
split-complementary
#4E3566 #656635 #356635
monochromatic
#100B15 #2F203E #4E3566 #6D4A8E #8B66AF

Accessibility & contrast

On white

10.37
#4E3566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4E3566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3566
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3566#FFFFFF#000000##FFFFFF
##4E35661.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293F68
Deuteranopia (green-blind)
#2F4065
Tritanopia (blue-blind)
#4A3D48
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e3566;
/* rgb */ color: rgb(78, 53, 102);
/* oklch */ color: oklch(38.0% 0.085 306.3);
Tailwind
colors: {
  custom: {
    50: '#816d92',
    500: '#4e3566',
    950: '#000000',
  },
}
SCSS
$custom: #4e3566;
$custom-light: #816d92;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3566",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 102
  },
  "hsl": {
    "h": 270.612,
    "s": 31.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38042,
    "c": 0.08546,
    "h": 306.3
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#4E3566
secondary
#7B9760
accent
#C86093
background
#F7F6F9
surface
#EEEBF1
border
#C9C6CB
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E3566

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

Preview Lab → · Contrast checker → · Palette generator →

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