#4E235B#4E235B

#4E235B is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.2% C 0.105 H 317.8°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#4E235B
RGBrgb(78, 35, 91)
HSLhsl(286, 44%, 25%)
HSVhsv(286, 62%, 36%)
CMYKcmyk(14.3%, 61.5%, 0%, 64.3%)
CIE-LABlab(22.22, 30.17, -25.20)
CIE-LCHlch(22.22, 39.31, 320.13°)
OKLaboklab(34.23% 0.0774 -0.0703)
OKLCHoklch(34.23% 0.105 317.8)
XYZxyz(5.6310, 3.5773, 10.2894)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E235B #305B23
analogous
#32235B #4E235B #5B234C
triadic
#4E235B #5B4E23 #235B4E
tetradic
#4E235B #5B3223 #305B23 #234C5B
square
#4E235B #5B3223 #305B23 #234C5B
split-complementary
#4E235B #4C5B23 #235B32
monochromatic
#130916 #28122F #4E235B #743487 #9A45B3

Accessibility & contrast

On white

12.24
#4E235B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4E235B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E235B
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E235B#FFFFFF#000000##FFFFFF
##4E235B1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16325D
Deuteranopia (green-blind)
#25375A
Tritanopia (blue-blind)
#4E2C3B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e235b;
/* rgb */ color: rgb(78, 35, 91);
/* oklch */ color: oklch(34.2% 0.105 317.8);
Tailwind
colors: {
  custom: {
    50: '#81608a',
    500: '#4e235b',
    950: '#000000',
  },
}
SCSS
$custom: #4e235b;
$custom-light: #81608a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e235b",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 286.071,
    "s": 44.444,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34228,
    "c": 0.10453,
    "h": 317.8
  },
  "luminance": 0.03577
}

Semantic roles & 50–950 ramp

primary
#4E235B
secondary
#5B8F4B
accent
#D45471
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4E235B

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

Preview Lab → · Contrast checker → · Palette generator →

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