#4E2250#4E2250

#4E2250 is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.4% C 0.094 H 325.8°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#4E2250
RGBrgb(78, 34, 80)
HSLhsl(297, 40%, 22%)
HSVhsv(297, 58%, 31%)
CMYKcmyk(2.5%, 57.5%, 0%, 68.6%)
CIE-LABlab(21.37, 28.27, -19.20)
CIE-LCHlch(21.37, 34.18, 325.82°)
OKLaboklab(33.39% 0.0777 -0.0529)
OKLCHoklch(33.39% 0.094 325.8)
XYZxyz(5.1618, 3.3432, 7.9613)
Luminance0.0334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2250 #245022
analogous
#372250 #4E2250 #50223B
triadic
#4E2250 #504E22 #22504E
tetradic
#4E2250 #503722 #245022 #223B50
square
#4E2250 #503722 #245022 #223B50
split-complementary
#4E2250 #3B5022 #225037
monochromatic
#150915 #241025 #4E2250 #78347B #A247A6

Accessibility & contrast

On white

12.59
#4E2250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4E2250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2250
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2250#FFFFFF#000000##FFFFFF
##4E22501.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3052
Deuteranopia (green-blind)
#2A354F
Tritanopia (blue-blind)
#502835
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e2250;
/* rgb */ color: rgb(78, 34, 80);
/* oklch */ color: oklch(33.4% 0.094 325.8);
Tailwind
colors: {
  custom: {
    50: '#815f81',
    500: '#4e2250',
    950: '#000000',
  },
}
SCSS
$custom: #4e2250;
$custom-light: #815f81;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2250",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 80
  },
  "hsl": {
    "h": 297.391,
    "s": 40.351,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33394,
    "c": 0.09402,
    "h": 325.8
  },
  "luminance": 0.03343
}

Semantic roles & 50–950 ramp

primary
#4E2250
secondary
#4C844A
accent
#D0585D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E2250

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

Preview Lab → · Contrast checker → · Palette generator →

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