#4E275D#4E275D

#4E275D is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.0% C 0.100 H 315.8°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#4E275D
RGBrgb(78, 39, 93)
HSLhsl(283, 41%, 26%)
HSVhsv(283, 58%, 36%)
CMYKcmyk(16.1%, 58.1%, 0%, 63.5%)
CIE-LABlab(23.21, 28.34, -24.96)
CIE-LCHlch(23.21, 37.76, 318.63°)
OKLaboklab(34.99% 0.0715 -0.0696)
OKLCHoklch(34.99% 0.1 315.8)
XYZxyz(5.8429, 3.8612, 10.7913)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E275D #365D27
analogous
#33275D #4E275D #5D2751
triadic
#4E275D #5D4E27 #275D4E
tetradic
#4E275D #5D3327 #365D27 #27515D
square
#4E275D #5D3327 #365D27 #27515D
split-complementary
#4E275D #515D27 #275D33
monochromatic
#120916 #2A1532 #4E275D #723988 #964BB3

Accessibility & contrast

On white

11.85
#4E275D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4E275D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E275D
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E275D#FFFFFF#000000##FFFFFF
##4E275D1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A355F
Deuteranopia (green-blind)
#27385C
Tritanopia (blue-blind)
#4D303E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e275d;
/* rgb */ color: rgb(78, 39, 93);
/* oklch */ color: oklch(35.0% 0.100 315.8);
Tailwind
colors: {
  custom: {
    50: '#81638b',
    500: '#4e275d',
    950: '#000000',
  },
}
SCSS
$custom: #4e275d;
$custom-light: #81638b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e275d",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 93
  },
  "hsl": {
    "h": 283.333,
    "s": 40.909,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3499,
    "c": 0.09977,
    "h": 315.8
  },
  "luminance": 0.03861
}

Semantic roles & 50–950 ramp

primary
#4E275D
secondary
#629050
accent
#D15779
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050C
muted
#7C7A7D

Preview Lab

Preview with #4E275D

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

Preview Lab → · Contrast checker → · Palette generator →

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