#4E2950#4E2950

#4E2950 is a dark, moderate purple. Relative luminance 0.038; OKLCH L 34.6% C 0.081 H 325.3°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#4E2950
RGBrgb(78, 41, 80)
HSLhsl(297, 32%, 24%)
HSVhsv(297, 49%, 31%)
CMYKcmyk(2.5%, 48.8%, 0%, 68.6%)
CIE-LABlab(22.95, 24.13, -16.74)
CIE-LCHlch(22.95, 29.37, 325.26°)
OKLaboklab(34.56% 0.0662 -0.0459)
OKLCHoklch(34.56% 0.081 325.3)
XYZxyz(5.3827, 3.7850, 8.0349)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2950 #2B5029
analogous
#3A2950 #4E2950 #50293E
triadic
#4E2950 #504E29 #29504E
tetradic
#4E2950 #503A29 #2B5029 #293E50
square
#4E2950 #503A29 #2B5029 #293E50
split-complementary
#4E2950 #3E5029 #29503A
monochromatic
#140A14 #271428 #4E2950 #753E78 #9D52A1

Accessibility & contrast

On white

11.95
#4E2950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4E2950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2950
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2950#FFFFFF#000000##FFFFFF
##4E29501.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253451
Deuteranopia (green-blind)
#2F384F
Tritanopia (blue-blind)
#502D38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2950;
/* rgb */ color: rgb(78, 41, 80);
/* oklch */ color: oklch(34.6% 0.081 325.3);
Tailwind
colors: {
  custom: {
    50: '#816481',
    500: '#4e2950',
    950: '#000000',
  },
}
SCSS
$custom: #4e2950;
$custom-light: #816481;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2950",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 80
  },
  "hsl": {
    "h": 296.923,
    "s": 32.231,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34563,
    "c": 0.08055,
    "h": 325.3
  },
  "luminance": 0.03785
}

Semantic roles & 50–950 ramp

primary
#4E2950
secondary
#558252
accent
#C85F65
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A050A
muted
#7C7A7C

Preview Lab

Preview with #4E2950

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

Preview Lab → · Contrast checker → · Palette generator →

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