#4E254D#4E254D

#4E254D is a dark, moderate purple. Relative luminance 0.035; OKLCH L 33.7% C 0.085 H 328.2°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#4E254D
RGBrgb(78, 37, 77)
HSLhsl(301, 36%, 23%)
HSVhsv(301, 53%, 31%)
CMYKcmyk(0%, 52.6%, 1.3%, 69.4%)
CIE-LABlab(21.87, 25.89, -16.40)
CIE-LCHlch(21.87, 30.65, 327.64°)
OKLaboklab(33.71% 0.0723 -0.0449)
OKLCHoklch(33.71% 0.085 328.2)
XYZxyz(5.1429, 3.4789, 7.4203)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E254D #254E26
analogous
#3A254E #4E254D #4E2539
triadic
#4E254D #4D4E25 #254D4E
tetradic
#4E254D #4E3A25 #254E26 #25394E
square
#4E254D #4E3A25 #254E26 #25394E
split-complementary
#4E254D #394E25 #254E3A
monochromatic
#150A14 #241124 #4E254D #783976 #A14C9F

Accessibility & contrast

On white

12.38
#4E254D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4E254D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E254D
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E254D#FFFFFF#000000##FFFFFF
##4E254D1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314E
Deuteranopia (green-blind)
#2E364C
Tritanopia (blue-blind)
#502935
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e254d;
/* rgb */ color: rgb(78, 37, 77);
/* oklch */ color: oklch(33.7% 0.085 328.2);
Tailwind
colors: {
  custom: {
    50: '#81617f',
    500: '#4e254d',
    950: '#000000',
  },
}
SCSS
$custom: #4e254d;
$custom-light: #81617f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e254d",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 301.463,
    "s": 35.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33711,
    "c": 0.08511,
    "h": 328.2
  },
  "luminance": 0.03479
}

Semantic roles & 50–950 ramp

primary
#4E254D
secondary
#4E814F
accent
#CC5F5C
background
#F8F5F7
surface
#EFEAEE
border
#CAC6C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E254D

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

Preview Lab → · Contrast checker → · Palette generator →

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