#4E245D#4E245D

#4E245D is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.5% C 0.105 H 316.3°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#4E245D
RGBrgb(78, 36, 93)
HSLhsl(284, 44%, 25%)
HSVhsv(284, 61%, 36%)
CMYKcmyk(16.1%, 61.3%, 0%, 63.5%)
CIE-LABlab(22.56, 30.07, -25.99)
CIE-LCHlch(22.56, 39.75, 319.16°)
OKLaboklab(34.51% 0.076 -0.0726)
OKLCHoklch(34.51% 0.105 316.3)
XYZxyz(5.7482, 3.6720, 10.7598)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E245D #335D24
analogous
#32245D #4E245D #5D244F
triadic
#4E245D #5D4E24 #245D4E
tetradic
#4E245D #5D3224 #335D24 #244F5D
square
#4E245D #5D3224 #335D24 #244F5D
split-complementary
#4E245D #4F5D24 #245D32
monochromatic
#130916 #291331 #4E245D #733589 #9846B5

Accessibility & contrast

On white

12.11
#4E245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4E245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E245D
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E245D#FFFFFF#000000##FFFFFF
##4E245D1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15335F
Deuteranopia (green-blind)
#25375C
Tritanopia (blue-blind)
#4D2D3C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e245d;
/* rgb */ color: rgb(78, 36, 93);
/* oklch */ color: oklch(34.5% 0.105 316.3);
Tailwind
colors: {
  custom: {
    50: '#81618b',
    500: '#4e245d',
    950: '#000000',
  },
}
SCSS
$custom: #4e245d;
$custom-light: #81618b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e245d",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 284.211,
    "s": 44.186,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34513,
    "c": 0.10511,
    "h": 316.3
  },
  "luminance": 0.03672
}

Semantic roles & 50–950 ramp

primary
#4E245D
secondary
#5E914C
accent
#D45476
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #4E245D

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

Preview Lab → · Contrast checker → · Palette generator →

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