#4E3561#4E3561

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

Color values

HEX#4E3561
RGBrgb(78, 53, 97)
HSLhsl(274, 29%, 29%)
HSVhsv(274, 45%, 38%)
CMYKcmyk(19.6%, 45.4%, 0%, 62%)
CIE-LABlab(26.82, 20.67, -21.88)
CIE-LCHlch(26.82, 30.10, 313.36°)
OKLaboklab(37.75% 0.0496 -0.0608)
OKLCHoklch(37.75% 0.078 309.2)
XYZxyz(6.5723, 5.0291, 11.9314)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3561 #486135
analogous
#383561 #4E3561 #61355E
triadic
#4E3561 #614E35 #35614E
tetradic
#4E3561 #613835 #486135 #355E61
square
#4E3561 #613835 #486135 #355E61
split-complementary
#4E3561 #5E6135 #356138
monochromatic
#100B14 #2E1F39 #4E3561 #6E4B89 #8D65AB

Accessibility & contrast

On white

10.47
#4E3561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3561
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3561#FFFFFF#000000##FFFFFF
##4E35611.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3E63
Deuteranopia (green-blind)
#324060
Tritanopia (blue-blind)
#4C3C46
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e3561;
/* rgb */ color: rgb(78, 53, 97);
/* oklch */ color: oklch(37.8% 0.078 309.2);
Tailwind
colors: {
  custom: {
    50: '#806d8e',
    500: '#4e3561',
    950: '#000000',
  },
}
SCSS
$custom: #4e3561;
$custom-light: #806d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3561",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 97
  },
  "hsl": {
    "h": 274.091,
    "s": 29.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3775,
    "c": 0.07847,
    "h": 309.2
  },
  "luminance": 0.05029
}

Semantic roles & 50–950 ramp

primary
#4E3561
secondary
#769260
accent
#C6628D
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A070C
muted
#7C7A7D

Preview Lab

Preview with #4E3561

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

Preview Lab → · Contrast checker → · Palette generator →

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