#4E2351#4E2351

#4E2351 is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.6% C 0.093 H 324.9°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#4E2351
RGBrgb(78, 35, 81)
HSLhsl(296, 40%, 23%)
HSVhsv(296, 57%, 32%)
CMYKcmyk(3.7%, 56.8%, 0%, 68.2%)
CIE-LABlab(21.64, 27.92, -19.45)
CIE-LCHlch(21.64, 34.03, 325.13°)
OKLaboklab(33.61% 0.0763 -0.0536)
OKLCHoklch(33.61% 0.093 324.9)
XYZxyz(5.2280, 3.4161, 8.1670)
Luminance0.0342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2351 #265123
analogous
#372351 #4E2351 #51233D
triadic
#4E2351 #514E23 #23514E
tetradic
#4E2351 #513723 #265123 #233D51
square
#4E2351 #513723 #265123 #233D51
split-complementary
#4E2351 #3D5123 #235137
monochromatic
#150915 #251126 #4E2351 #77357C #A048A6

Accessibility & contrast

On white

12.48
#4E2351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4E2351 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2351
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2351#FFFFFF#000000##FFFFFF
##4E23511.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3053
Deuteranopia (green-blind)
#2B3650
Tritanopia (blue-blind)
#502936
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e2351;
/* rgb */ color: rgb(78, 35, 81);
/* oklch */ color: oklch(33.6% 0.093 324.9);
Tailwind
colors: {
  custom: {
    50: '#816082',
    500: '#4e2351',
    950: '#000000',
  },
}
SCSS
$custom: #4e2351;
$custom-light: #816082;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2351",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 81
  },
  "hsl": {
    "h": 296.087,
    "s": 39.655,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33611,
    "c": 0.09325,
    "h": 324.9
  },
  "luminance": 0.03416
}

Semantic roles & 50–950 ramp

primary
#4E2351
secondary
#4F854B
accent
#D05860
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E2351

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

Preview Lab → · Contrast checker → · Palette generator →

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