#4E254C#4E254C

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

Color values

HEX#4E254C
RGBrgb(78, 37, 76)
HSLhsl(303, 36%, 23%)
HSVhsv(303, 53%, 31%)
CMYKcmyk(0%, 52.6%, 2.6%, 69.4%)
CIE-LABlab(21.82, 25.68, -15.81)
CIE-LCHlch(21.82, 30.16, 328.38°)
OKLaboklab(33.66% 0.0721 -0.0432)
OKLCHoklch(33.66% 0.084 329.1)
XYZxyz(5.1079, 3.4649, 7.2358)
Luminance0.0347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E254C #254E27
analogous
#3C254E #4E254C #4E2537
triadic
#4E254C #4C4E25 #254C4E
tetradic
#4E254C #4E3C25 #254E27 #25374E
square
#4E254C #4E3C25 #254E27 #25374E
split-complementary
#4E254C #374E25 #254E3C
monochromatic
#150A14 #241124 #4E254C #783974 #A14C9D

Accessibility & contrast

On white

12.40
#4E254C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E254C
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E254C#FFFFFF#000000##FFFFFF
##4E254C1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314D
Deuteranopia (green-blind)
#2E364B
Tritanopia (blue-blind)
#512935
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e254c;
/* rgb */ color: rgb(78, 37, 76);
/* oklch */ color: oklch(33.7% 0.084 329.1);
Tailwind
colors: {
  custom: {
    50: '#81617e',
    500: '#4e254c',
    950: '#000000',
  },
}
SCSS
$custom: #4e254c;
$custom-light: #81617e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e254c",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 302.927,
    "s": 35.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33656,
    "c": 0.08404,
    "h": 329.1
  },
  "luminance": 0.03465
}

Semantic roles & 50–950 ramp

primary
#4E254C
secondary
#4E8150
accent
#CC625C
background
#F8F5F7
surface
#EFEAEE
border
#CAC6C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E254C

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

Preview Lab → · Contrast checker → · Palette generator →

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