#4E245A#4E245A

#4E245A is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.3% C 0.102 H 318.3°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#4E245A
RGBrgb(78, 36, 90)
HSLhsl(287, 43%, 25%)
HSVhsv(287, 60%, 35%)
CMYKcmyk(13.3%, 60%, 0%, 64.7%)
CIE-LABlab(22.37, 29.37, -24.30)
CIE-LCHlch(22.37, 38.12, 320.40°)
OKLaboklab(34.32% 0.0758 -0.0677)
OKLCHoklch(34.32% 0.102 318.3)
XYZxyz(5.6180, 3.6199, 10.0736)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E245A #305A24
analogous
#33245A #4E245A #5A244B
triadic
#4E245A #5A4E24 #245A4E
tetradic
#4E245A #5A3324 #305A24 #244B5A
square
#4E245A #5A3324 #305A24 #244B5A
split-complementary
#4E245A #4B5A24 #245A33
monochromatic
#130916 #28132E #4E245A #743586 #9A47B1

Accessibility & contrast

On white

12.18
#4E245A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4E245A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E245A
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E245A#FFFFFF#000000##FFFFFF
##4E245A1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18335C
Deuteranopia (green-blind)
#273759
Tritanopia (blue-blind)
#4E2C3B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e245a;
/* rgb */ color: rgb(78, 36, 90);
/* oklch */ color: oklch(34.3% 0.102 318.3);
Tailwind
colors: {
  custom: {
    50: '#816189',
    500: '#4e245a',
    950: '#000000',
  },
}
SCSS
$custom: #4e245a;
$custom-light: #816189;
$custom-dark: #000000;
JSON
{
  "hex": "#4e245a",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 90
  },
  "hsl": {
    "h": 286.667,
    "s": 42.857,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34319,
    "c": 0.10161,
    "h": 318.3
  },
  "luminance": 0.0362
}

Semantic roles & 50–950 ramp

primary
#4E245A
secondary
#5B8E4C
accent
#D35571
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4E245A

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

Preview Lab → · Contrast checker → · Palette generator →

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