#4E245C#4E245C

#4E245C is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.4% C 0.104 H 317.0°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#4E245C
RGBrgb(78, 36, 92)
HSLhsl(285, 44%, 25%)
HSVhsv(285, 61%, 36%)
CMYKcmyk(15.2%, 60.9%, 0%, 63.9%)
CIE-LABlab(22.49, 29.84, -25.43)
CIE-LCHlch(22.49, 39.20, 319.56°)
OKLaboklab(34.45% 0.076 -0.0709)
OKLCHoklch(34.45% 0.104 317)
XYZxyz(5.7042, 3.6544, 10.5280)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E245C #325C24
analogous
#32245C #4E245C #5C244E
triadic
#4E245C #5C4E24 #245C4E
tetradic
#4E245C #5C3224 #325C24 #244E5C
square
#4E245C #5C3224 #325C24 #244E5C
split-complementary
#4E245C #4E5C24 #245C32
monochromatic
#130916 #291330 #4E245C #733588 #9946B4

Accessibility & contrast

On white

12.13
#4E245C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E245C
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E245C#FFFFFF#000000##FFFFFF
##4E245C1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16335E
Deuteranopia (green-blind)
#25375B
Tritanopia (blue-blind)
#4D2D3C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e245c;
/* rgb */ color: rgb(78, 36, 92);
/* oklch */ color: oklch(34.4% 0.104 317.0);
Tailwind
colors: {
  custom: {
    50: '#81618a',
    500: '#4e245c',
    950: '#000000',
  },
}
SCSS
$custom: #4e245c;
$custom-light: #81618a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e245c",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 285,
    "s": 43.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34447,
    "c": 0.10393,
    "h": 317
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#4E245C
secondary
#5D904C
accent
#D35474
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #4E245C

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

Preview Lab → · Contrast checker → · Palette generator →

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