#4E254A#4E254A

#4E254A is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.5% C 0.082 H 330.9°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#4E254A
RGBrgb(78, 37, 74)
HSLhsl(306, 36%, 23%)
HSVhsv(306, 53%, 31%)
CMYKcmyk(0%, 52.6%, 5.1%, 69.4%)
CIE-LABlab(21.72, 25.26, -14.61)
CIE-LCHlch(21.72, 29.19, 329.96°)
OKLaboklab(33.55% 0.0716 -0.0398)
OKLCHoklch(33.55% 0.082 330.9)
XYZxyz(5.0394, 3.4375, 6.8753)
Luminance0.0344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E254A #254E29
analogous
#3E254E #4E254A #4E2535
triadic
#4E254A #4A4E25 #254A4E
tetradic
#4E254A #4E3E25 #254E29 #25354E
square
#4E254A #4E3E25 #254E29 #25354E
split-complementary
#4E254A #354E25 #254E3E
monochromatic
#150A14 #241123 #4E254A #783971 #A14C99

Accessibility & contrast

On white

12.45
#4E254A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4E254A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E254A
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E254A#FFFFFF#000000##FFFFFF
##4E254A1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23304B
Deuteranopia (green-blind)
#2F3649
Tritanopia (blue-blind)
#512834
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e254a;
/* rgb */ color: rgb(78, 37, 74);
/* oklch */ color: oklch(33.5% 0.082 330.9);
Tailwind
colors: {
  custom: {
    50: '#81617c',
    500: '#4e254a',
    950: '#000000',
  },
}
SCSS
$custom: #4e254a;
$custom-light: #81617c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e254a",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 305.854,
    "s": 35.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33549,
    "c": 0.08194,
    "h": 330.9
  },
  "luminance": 0.03437
}

Semantic roles & 50–950 ramp

primary
#4E254A
secondary
#4E8153
accent
#CC675C
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4E254A

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

Preview Lab → · Contrast checker → · Palette generator →

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