#4E254B#4E254B

#4E254B is a dark, moderate purple. Relative luminance 0.035; OKLCH L 33.6% C 0.083 H 330.0°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#4E254B
RGBrgb(78, 37, 75)
HSLhsl(304, 36%, 23%)
HSVhsv(304, 53%, 31%)
CMYKcmyk(0%, 52.6%, 3.8%, 69.4%)
CIE-LABlab(21.77, 25.47, -15.21)
CIE-LCHlch(21.77, 29.67, 329.15°)
OKLaboklab(33.6% 0.0719 -0.0415)
OKLCHoklch(33.6% 0.083 330)
XYZxyz(5.0734, 3.4511, 7.0542)
Luminance0.0345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E254B #254E28
analogous
#3C254E #4E254B #4E2537
triadic
#4E254B #4B4E25 #254B4E
tetradic
#4E254B #4E3C25 #254E28 #25374E
square
#4E254B #4E3C25 #254E28 #25374E
split-complementary
#4E254B #374E25 #254E3C
monochromatic
#150A14 #241123 #4E254B #783973 #A14C9B

Accessibility & contrast

On white

12.42
#4E254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E254B
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E254B#FFFFFF#000000##FFFFFF
##4E254B1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23314C
Deuteranopia (green-blind)
#2E364A
Tritanopia (blue-blind)
#512834
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e254b;
/* rgb */ color: rgb(78, 37, 75);
/* oklch */ color: oklch(33.6% 0.083 330.0);
Tailwind
colors: {
  custom: {
    50: '#81617d',
    500: '#4e254b',
    950: '#000000',
  },
}
SCSS
$custom: #4e254b;
$custom-light: #81617d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e254b",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 304.39,
    "s": 35.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33602,
    "c": 0.08298,
    "h": 330
  },
  "luminance": 0.03451
}

Semantic roles & 50–950 ramp

primary
#4E254B
secondary
#4E8151
accent
#CC645C
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4E254B

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

Preview Lab → · Contrast checker → · Palette generator →

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