#4E2D5F#4E2D5F

#4E2D5F is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.1% C 0.091 H 313.1°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#4E2D5F
RGBrgb(78, 45, 95)
HSLhsl(280, 36%, 27%)
HSVhsv(280, 53%, 37%)
CMYKcmyk(17.9%, 52.6%, 0%, 62.7%)
CIE-LABlab(24.71, 25.20, -23.89)
CIE-LCHlch(24.71, 34.73, 316.53°)
OKLaboklab(36.14% 0.0623 -0.0665)
OKLCHoklch(36.14% 0.091 313.1)
XYZxyz(6.1455, 4.3228, 11.3349)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D5F #3E5F2D
analogous
#352D5F #4E2D5F #5F2D57
triadic
#4E2D5F #5F4E2D #2D5F4E
tetradic
#4E2D5F #5F352D #3E5F2D #2D575F
square
#4E2D5F #5F352D #3E5F2D #2D575F
split-complementary
#4E2D5F #575F2D #2D5F35
monochromatic
#110A15 #2C1935 #4E2D5F #704189 #9157AF

Accessibility & contrast

On white

11.26
#4E2D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4E2D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D5F
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D5F#FFFFFF#000000##FFFFFF
##4E2D5F1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223961
Deuteranopia (green-blind)
#2B3B5E
Tritanopia (blue-blind)
#4C3541
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2d5f;
/* rgb */ color: rgb(78, 45, 95);
/* oklch */ color: oklch(36.1% 0.091 313.1);
Tailwind
colors: {
  custom: {
    50: '#81678c',
    500: '#4e2d5f',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d5f;
$custom-light: #81678c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d5f",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 279.6,
    "s": 35.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3614,
    "c": 0.09115,
    "h": 313.1
  },
  "luminance": 0.04323
}

Semantic roles & 50–950 ramp

primary
#4E2D5F
secondary
#6B9157
accent
#CC5C82
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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