#4E2253#4E2253

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

Color values

HEX#4E2253
RGBrgb(78, 34, 83)
HSLhsl(294, 42%, 23%)
HSVhsv(294, 59%, 33%)
CMYKcmyk(6%, 59%, 0%, 67.5%)
CIE-LABlab(21.54, 28.92, -20.95)
CIE-LCHlch(21.54, 35.71, 324.08°)
OKLaboklab(33.57% 0.0782 -0.0579)
OKLCHoklch(33.57% 0.097 323.4)
XYZxyz(5.2751, 3.3886, 8.5581)
Luminance0.0339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2253 #275322
analogous
#352253 #4E2253 #53223F
triadic
#4E2253 #534E22 #22534E
tetradic
#4E2253 #533522 #275322 #223F53
square
#4E2253 #533522 #275322 #223F53
split-complementary
#4E2253 #3F5322 #225335
monochromatic
#140916 #251028 #4E2253 #77347E #A046AA

Accessibility & contrast

On white

12.52
#4E2253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2253
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2253#FFFFFF#000000##FFFFFF
##4E22531.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3055
Deuteranopia (green-blind)
#293552
Tritanopia (blue-blind)
#4F2837
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e2253;
/* rgb */ color: rgb(78, 34, 83);
/* oklch */ color: oklch(33.6% 0.097 323.4);
Tailwind
colors: {
  custom: {
    50: '#815f83',
    500: '#4e2253',
    950: '#000000',
  },
}
SCSS
$custom: #4e2253;
$custom-light: #815f83;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2253",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 83
  },
  "hsl": {
    "h": 293.878,
    "s": 41.88,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33573,
    "c": 0.09729,
    "h": 323.4
  },
  "luminance": 0.03388
}

Semantic roles & 50–950 ramp

primary
#4E2253
secondary
#50874A
accent
#D25663
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E2253

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

Preview Lab → · Contrast checker → · Palette generator →

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