#4E2B5F#4E2B5F

#4E2B5F is a dark, moderate purple. Relative luminance 0.042; OKLCH L 35.8% C 0.095 H 313.6°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#4E2B5F
RGBrgb(78, 43, 95)
HSLhsl(280, 38%, 27%)
HSVhsv(280, 55%, 37%)
CMYKcmyk(17.9%, 54.7%, 0%, 62.7%)
CIE-LABlab(24.24, 26.43, -24.64)
CIE-LCHlch(24.24, 36.13, 317.01°)
OKLaboklab(35.79% 0.0655 -0.0687)
OKLCHoklch(35.79% 0.095 313.6)
XYZxyz(6.0710, 4.1738, 11.3101)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B5F #3C5F2B
analogous
#342B5F #4E2B5F #5F2B56
triadic
#4E2B5F #5F4E2B #2B5F4E
tetradic
#4E2B5F #5F342B #3C5F2B #2B565F
square
#4E2B5F #5F342B #3C5F2B #2B565F
split-complementary
#4E2B5F #565F2B #2B5F34
monochromatic
#110A15 #2B1835 #4E2B5F #713E89 #9253B1

Accessibility & contrast

On white

11.45
#4E2B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4E2B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B5F
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B5F#FFFFFF#000000##FFFFFF
##4E2B5F1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3861
Deuteranopia (green-blind)
#2A3A5E
Tritanopia (blue-blind)
#4D3340
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2b5f;
/* rgb */ color: rgb(78, 43, 95);
/* oklch */ color: oklch(35.8% 0.095 313.6);
Tailwind
colors: {
  custom: {
    50: '#81668c',
    500: '#4e2b5f',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b5f;
$custom-light: #81668c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b5f",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 95
  },
  "hsl": {
    "h": 280.385,
    "s": 37.681,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35789,
    "c": 0.0949,
    "h": 313.6
  },
  "luminance": 0.04174
}

Semantic roles & 50–950 ramp

primary
#4E2B5F
secondary
#689155
accent
#CE5A80
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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