#4E2D60#4E2D60

#4E2D60 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.2% C 0.092 H 312.5°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#4E2D60
RGBrgb(78, 45, 96)
HSLhsl(279, 36%, 28%)
HSVhsv(279, 53%, 38%)
CMYKcmyk(18.7%, 53.1%, 0%, 62.4%)
CIE-LABlab(24.77, 25.45, -24.46)
CIE-LCHlch(24.77, 35.30, 316.14°)
OKLaboklab(36.2% 0.0624 -0.0682)
OKLCHoklch(36.2% 0.092 312.5)
XYZxyz(6.1912, 4.3411, 11.5758)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D60 #3F602D
analogous
#352D60 #4E2D60 #602D58
triadic
#4E2D60 #604E2D #2D604E
tetradic
#4E2D60 #60352D #3F602D #2D5860
square
#4E2D60 #60352D #3F602D #2D5860
split-complementary
#4E2D60 #58602D #2D6035
monochromatic
#110A15 #2C1936 #4E2D60 #70418A #9157B0

Accessibility & contrast

On white

11.24
#4E2D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4E2D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D60
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D60#FFFFFF#000000##FFFFFF
##4E2D601.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213962
Deuteranopia (green-blind)
#2B3C5F
Tritanopia (blue-blind)
#4C3542
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2d60;
/* rgb */ color: rgb(78, 45, 96);
/* oklch */ color: oklch(36.2% 0.092 312.5);
Tailwind
colors: {
  custom: {
    50: '#81678d',
    500: '#4e2d60',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d60;
$custom-light: #81678d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d60",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 96
  },
  "hsl": {
    "h": 278.824,
    "s": 36.17,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36201,
    "c": 0.09244,
    "h": 312.5
  },
  "luminance": 0.04341
}

Semantic roles & 50–950 ramp

primary
#4E2D60
secondary
#6C9257
accent
#CC5C83
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2D60

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

Preview Lab → · Contrast checker → · Palette generator →

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