#4E3562#4E3562

#4E3562 is a dark, moderate violet. Relative luminance 0.050; OKLCH L 37.8% C 0.080 H 308.6°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#4E3562
RGBrgb(78, 53, 98)
HSLhsl(273, 30%, 30%)
HSVhsv(273, 46%, 38%)
CMYKcmyk(20.4%, 45.9%, 0%, 61.6%)
CIE-LABlab(26.87, 20.93, -22.45)
CIE-LCHlch(26.87, 30.69, 312.99°)
OKLaboklab(37.81% 0.0499 -0.0624)
OKLCHoklch(37.81% 0.08 308.6)
XYZxyz(6.6192, 5.0478, 12.1785)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3562 #496235
analogous
#383562 #4E3562 #623560
triadic
#4E3562 #624E35 #35624E
tetradic
#4E3562 #623835 #496235 #356062
square
#4E3562 #623835 #496235 #356062
split-complementary
#4E3562 #606235 #356238
monochromatic
#100B14 #2E203A #4E3562 #6E4A8A #8D65AC

Accessibility & contrast

On white

10.45
#4E3562 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4E3562 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3562
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3562#FFFFFF#000000##FFFFFF
##4E35621.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3E64
Deuteranopia (green-blind)
#314061
Tritanopia (blue-blind)
#4B3C46
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e3562;
/* rgb */ color: rgb(78, 53, 98);
/* oklch */ color: oklch(37.8% 0.080 308.6);
Tailwind
colors: {
  custom: {
    50: '#806d8f',
    500: '#4e3562',
    950: '#000000',
  },
}
SCSS
$custom: #4e3562;
$custom-light: #806d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3562",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 98
  },
  "hsl": {
    "h": 273.333,
    "s": 29.801,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37807,
    "c": 0.07987,
    "h": 308.6
  },
  "luminance": 0.05048
}

Semantic roles & 50–950 ramp

primary
#4E3562
secondary
#779360
accent
#C6628E
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A070C
muted
#7C7A7D

Preview Lab

Preview with #4E3562

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

Preview Lab → · Contrast checker → · Palette generator →

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