#4E275A#4E275A

#4E275A is a dark, moderate purple. Relative luminance 0.038; OKLCH L 34.8% C 0.096 H 317.7°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#4E275A
RGBrgb(78, 39, 90)
HSLhsl(286, 40%, 25%)
HSVhsv(286, 57%, 35%)
CMYKcmyk(13.3%, 56.7%, 0%, 64.7%)
CIE-LABlab(23.03, 27.62, -23.26)
CIE-LCHlch(23.03, 36.11, 319.90°)
OKLaboklab(34.8% 0.0712 -0.0647)
OKLCHoklch(34.8% 0.096 317.7)
XYZxyz(5.7126, 3.8091, 10.1052)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E275A #335A27
analogous
#34275A #4E275A #5A274C
triadic
#4E275A #5A4E27 #275A4E
tetradic
#4E275A #5A3427 #335A27 #274C5A
square
#4E275A #5A3427 #335A27 #274C5A
split-complementary
#4E275A #4C5A27 #275A34
monochromatic
#130915 #29142F #4E275A #733A85 #984CAF

Accessibility & contrast

On white

11.92
#4E275A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4E275A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E275A
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E275A#FFFFFF#000000##FFFFFF
##4E275A1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D345C
Deuteranopia (green-blind)
#293859
Tritanopia (blue-blind)
#4E2F3C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e275a;
/* rgb */ color: rgb(78, 39, 90);
/* oklch */ color: oklch(34.8% 0.096 317.7);
Tailwind
colors: {
  custom: {
    50: '#816389',
    500: '#4e275a',
    950: '#000000',
  },
}
SCSS
$custom: #4e275a;
$custom-light: #816389;
$custom-dark: #000000;
JSON
{
  "hex": "#4e275a",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 90
  },
  "hsl": {
    "h": 285.882,
    "s": 39.535,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34802,
    "c": 0.09616,
    "h": 317.7
  },
  "luminance": 0.03809
}

Semantic roles & 50–950 ramp

primary
#4E275A
secondary
#5E8D50
accent
#CF5874
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4E275A

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

Preview Lab → · Contrast checker → · Palette generator →

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