#4E245E#4E245E

#4E245E is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.6% C 0.106 H 315.7°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#4E245E
RGBrgb(78, 36, 94)
HSLhsl(283, 45%, 25%)
HSVhsv(283, 62%, 37%)
CMYKcmyk(17%, 61.7%, 0%, 63.1%)
CIE-LABlab(22.62, 30.31, -26.55)
CIE-LCHlch(22.62, 40.29, 318.78°)
OKLaboklab(34.58% 0.0761 -0.0742)
OKLCHoklch(34.58% 0.106 315.7)
XYZxyz(5.7928, 3.6898, 10.9946)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E245E #345E24
analogous
#31245E #4E245E #5E2451
triadic
#4E245E #5E4E24 #245E4E
tetradic
#4E245E #5E3124 #345E24 #24515E
square
#4E245E #5E3124 #345E24 #24515E
split-complementary
#4E245E #515E24 #245E31
monochromatic
#120816 #291332 #4E245E #73358A #9746B7

Accessibility & contrast

On white

12.08
#4E245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4E245E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E245E
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E245E#FFFFFF#000000##FFFFFF
##4E245E1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143360
Deuteranopia (green-blind)
#24375D
Tritanopia (blue-blind)
#4D2E3D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e245e;
/* rgb */ color: rgb(78, 36, 94);
/* oklch */ color: oklch(34.6% 0.106 315.7);
Tailwind
colors: {
  custom: {
    50: '#81618c',
    500: '#4e245e',
    950: '#000000',
  },
}
SCSS
$custom: #4e245e;
$custom-light: #81618c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e245e",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 283.448,
    "s": 44.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34578,
    "c": 0.10629,
    "h": 315.7
  },
  "luminance": 0.0369
}

Semantic roles & 50–950 ramp

primary
#4E245E
secondary
#5F924C
accent
#D45377
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #4E245E

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

Preview Lab → · Contrast checker → · Palette generator →

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