#4E295B#4E295B

#4E295B is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.2% C 0.094 H 316.7°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#4E295B
RGBrgb(78, 41, 91)
HSLhsl(284, 38%, 26%)
HSVhsv(284, 55%, 36%)
CMYKcmyk(14.3%, 54.9%, 0%, 64.3%)
CIE-LABlab(23.54, 26.67, -23.11)
CIE-LCHlch(23.54, 35.29, 319.09°)
OKLaboklab(35.2% 0.0681 -0.0642)
OKLCHoklch(35.2% 0.094 316.7)
XYZxyz(5.8229, 3.9611, 10.3533)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E295B #365B29
analogous
#35295B #4E295B #5B294F
triadic
#4E295B #5B4E29 #295B4E
tetradic
#4E295B #5B3529 #365B29 #294F5B
square
#4E295B #5B3529 #365B29 #294F5B
split-complementary
#4E295B #4F5B29 #295B35
monochromatic
#120A15 #2A1631 #4E295B #723C85 #964FAF

Accessibility & contrast

On white

11.72
#4E295B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4E295B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E295B
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E295B#FFFFFF#000000##FFFFFF
##4E295B1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F365D
Deuteranopia (green-blind)
#2A395A
Tritanopia (blue-blind)
#4E303E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e295b;
/* rgb */ color: rgb(78, 41, 91);
/* oklch */ color: oklch(35.2% 0.094 316.7);
Tailwind
colors: {
  custom: {
    50: '#816489',
    500: '#4e295b',
    950: '#000000',
  },
}
SCSS
$custom: #4e295b;
$custom-light: #816489;
$custom-dark: #000000;
JSON
{
  "hex": "#4e295b",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 91
  },
  "hsl": {
    "h": 284.4,
    "s": 37.879,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35199,
    "c": 0.09364,
    "h": 316.7
  },
  "luminance": 0.03961
}

Semantic roles & 50–950 ramp

primary
#4E295B
secondary
#628E52
accent
#CE5A78
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050B
muted
#7C7A7C

Preview Lab

Preview with #4E295B

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

Preview Lab → · Contrast checker → · Palette generator →

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