#4E275E#4E275E

#4E275E is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.1% C 0.101 H 315.1°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#4E275E
RGBrgb(78, 39, 94)
HSLhsl(283, 41%, 26%)
HSVhsv(283, 59%, 37%)
CMYKcmyk(17%, 58.5%, 0%, 63.1%)
CIE-LABlab(23.27, 28.58, -25.52)
CIE-LCHlch(23.27, 38.31, 318.24°)
OKLaboklab(35.05% 0.0716 -0.0712)
OKLCHoklch(35.05% 0.101 315.1)
XYZxyz(5.8875, 3.8791, 11.0261)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E275E #375E27
analogous
#32275E #4E275E #5E2752
triadic
#4E275E #5E4E27 #275E4E
tetradic
#4E275E #5E3227 #375E27 #27525E
square
#4E275E #5E3227 #375E27 #27525E
split-complementary
#4E275E #525E27 #275E32
monochromatic
#120916 #2A1533 #4E275E #723989 #964BB4

Accessibility & contrast

On white

11.83
#4E275E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4E275E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E275E
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E275E#FFFFFF#000000##FFFFFF
##4E275E1.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3560
Deuteranopia (green-blind)
#27395D
Tritanopia (blue-blind)
#4D303E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e275e;
/* rgb */ color: rgb(78, 39, 94);
/* oklch */ color: oklch(35.1% 0.101 315.1);
Tailwind
colors: {
  custom: {
    50: '#81638c',
    500: '#4e275e',
    950: '#000000',
  },
}
SCSS
$custom: #4e275e;
$custom-light: #81638c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e275e",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 94
  },
  "hsl": {
    "h": 282.545,
    "s": 41.353,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35054,
    "c": 0.10098,
    "h": 315.1
  },
  "luminance": 0.03879
}

Semantic roles & 50–950 ramp

primary
#4E275E
secondary
#639150
accent
#D1577A
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050C
muted
#7C7A7D

Preview Lab

Preview with #4E275E

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

Preview Lab → · Contrast checker → · Palette generator →

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