#4E2C60#4E2C60

#4E2C60 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.0% C 0.094 H 312.7°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#4E2C60
RGBrgb(78, 44, 96)
HSLhsl(279, 37%, 27%)
HSVhsv(279, 54%, 38%)
CMYKcmyk(18.7%, 54.2%, 0%, 62.4%)
CIE-LABlab(24.53, 26.07, -24.83)
CIE-LCHlch(24.53, 36.00, 316.39°)
OKLaboklab(36.03% 0.064 -0.0693)
OKLCHoklch(36.03% 0.094 312.7)
XYZxyz(6.1535, 4.2657, 11.5633)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2C60 #3E602C
analogous
#342C60 #4E2C60 #602C58
triadic
#4E2C60 #604E2C #2C604E
tetradic
#4E2C60 #60342C #3E602C #2C5860
square
#4E2C60 #60342C #3E602C #2C5860
split-complementary
#4E2C60 #58602C #2C6034
monochromatic
#110A15 #2C1936 #4E2C60 #703F8A #9155B1

Accessibility & contrast

On white

11.33
#4E2C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4E2C60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2C60
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2C60#FFFFFF#000000##FFFFFF
##4E2C601.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203862
Deuteranopia (green-blind)
#2A3B5F
Tritanopia (blue-blind)
#4C3441
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2c60;
/* rgb */ color: rgb(78, 44, 96);
/* oklch */ color: oklch(36.0% 0.094 312.7);
Tailwind
colors: {
  custom: {
    50: '#81668d',
    500: '#4e2c60',
    950: '#000000',
  },
}
SCSS
$custom: #4e2c60;
$custom-light: #81668d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2c60",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 96
  },
  "hsl": {
    "h": 279.231,
    "s": 37.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36025,
    "c": 0.09431,
    "h": 312.7
  },
  "luminance": 0.04266
}

Semantic roles & 50–950 ramp

primary
#4E2C60
secondary
#6B9256
accent
#CD5B82
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2C60

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

Preview Lab → · Contrast checker → · Palette generator →

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