#4E245B#4E245B

#4E245B is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.4% C 0.103 H 317.6°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#4E245B
RGBrgb(78, 36, 91)
HSLhsl(286, 43%, 25%)
HSVhsv(286, 60%, 36%)
CMYKcmyk(14.3%, 60.4%, 0%, 64.3%)
CIE-LABlab(22.43, 29.60, -24.86)
CIE-LCHlch(22.43, 38.66, 319.97°)
OKLaboklab(34.38% 0.0759 -0.0693)
OKLCHoklch(34.38% 0.103 317.6)
XYZxyz(5.6608, 3.6370, 10.2993)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E245B #315B24
analogous
#32245B #4E245B #5B244D
triadic
#4E245B #5B4E24 #245B4E
tetradic
#4E245B #5B3224 #315B24 #244D5B
square
#4E245B #5B3224 #315B24 #244D5B
split-complementary
#4E245B #4D5B24 #245B32
monochromatic
#130916 #28132F #4E245B #743587 #9947B3

Accessibility & contrast

On white

12.16
#4E245B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E245B
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E245B#FFFFFF#000000##FFFFFF
##4E245B1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17335D
Deuteranopia (green-blind)
#26375A
Tritanopia (blue-blind)
#4E2D3B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e245b;
/* rgb */ color: rgb(78, 36, 91);
/* oklch */ color: oklch(34.4% 0.103 317.6);
Tailwind
colors: {
  custom: {
    50: '#81618a',
    500: '#4e245b',
    950: '#000000',
  },
}
SCSS
$custom: #4e245b;
$custom-light: #81618a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e245b",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 91
  },
  "hsl": {
    "h": 285.818,
    "s": 43.307,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34383,
    "c": 0.10277,
    "h": 317.6
  },
  "luminance": 0.03637
}

Semantic roles & 50–950 ramp

primary
#4E245B
secondary
#5C8F4C
accent
#D35573
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4E245B

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

Preview Lab → · Contrast checker → · Palette generator →

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