#4E255E#4E255E

#4E255E is a dark, moderate purple. Relative luminance 0.038; OKLCH L 34.7% C 0.105 H 315.5°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#4E255E
RGBrgb(78, 37, 94)
HSLhsl(283, 44%, 26%)
HSVhsv(283, 61%, 37%)
CMYKcmyk(17%, 60.6%, 0%, 63.1%)
CIE-LABlab(22.83, 29.74, -26.21)
CIE-LCHlch(22.83, 39.64, 318.61°)
OKLaboklab(34.73% 0.0746 -0.0732)
OKLCHoklch(34.73% 0.105 315.5)
XYZxyz(5.8235, 3.7512, 11.0048)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E255E #355E25
analogous
#31255E #4E255E #5E2551
triadic
#4E255E #5E4E25 #255E4E
tetradic
#4E255E #5E3125 #355E25 #25515E
square
#4E255E #5E3125 #355E25 #25515E
split-complementary
#4E255E #515E25 #255E31
monochromatic
#120916 #2A1432 #4E255E #72368A #9748B6

Accessibility & contrast

On white

12.00
#4E255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E255E
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E255E#FFFFFF#000000##FFFFFF
##4E255E1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163460
Deuteranopia (green-blind)
#25385D
Tritanopia (blue-blind)
#4D2E3D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e255e;
/* rgb */ color: rgb(78, 37, 94);
/* oklch */ color: oklch(34.7% 0.105 315.5);
Tailwind
colors: {
  custom: {
    50: '#81628c',
    500: '#4e255e',
    950: '#000000',
  },
}
SCSS
$custom: #4e255e;
$custom-light: #81628c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e255e",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 283.158,
    "s": 43.511,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34734,
    "c": 0.10454,
    "h": 315.5
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#4E255E
secondary
#61914D
accent
#D35578
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #4E255E

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

Preview Lab → · Contrast checker → · Palette generator →

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