#4E255D#4E255D

#4E255D is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.7% C 0.103 H 316.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#4E255D
RGBrgb(78, 37, 93)
HSLhsl(284, 43%, 25%)
HSVhsv(284, 60%, 36%)
CMYKcmyk(16.1%, 60.2%, 0%, 63.5%)
CIE-LABlab(22.77, 29.50, -25.65)
CIE-LCHlch(22.77, 39.09, 318.99°)
OKLaboklab(34.67% 0.0745 -0.0716)
OKLCHoklch(34.67% 0.103 316.1)
XYZxyz(5.7789, 3.7333, 10.7700)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E255D #345D25
analogous
#32255D #4E255D #5D2550
triadic
#4E255D #5D4E25 #255D4E
tetradic
#4E255D #5D3225 #345D25 #25505D
square
#4E255D #5D3225 #345D25 #25505D
split-complementary
#4E255D #505D25 #255D32
monochromatic
#120916 #291431 #4E255D #733689 #9748B5

Accessibility & contrast

On white

12.02
#4E255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4E255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E255D
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E255D#FFFFFF#000000##FFFFFF
##4E255D1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17345F
Deuteranopia (green-blind)
#26385C
Tritanopia (blue-blind)
#4D2E3D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e255d;
/* rgb */ color: rgb(78, 37, 93);
/* oklch */ color: oklch(34.7% 0.103 316.1);
Tailwind
colors: {
  custom: {
    50: '#81628b',
    500: '#4e255d',
    950: '#000000',
  },
}
SCSS
$custom: #4e255d;
$custom-light: #81628b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e255d",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 283.929,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34669,
    "c": 0.10335,
    "h": 316.1
  },
  "luminance": 0.03733
}

Semantic roles & 50–950 ramp

primary
#4E255D
secondary
#5F904D
accent
#D35577
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #4E255D

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

Preview Lab → · Contrast checker → · Palette generator →

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