#4E1750#4E1750

#4E1750 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.9% C 0.113 H 326.4°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#4E1750
RGBrgb(78, 23, 80)
HSLhsl(298, 55%, 20%)
HSVhsv(298, 71%, 31%)
CMYKcmyk(2.5%, 71.2%, 0%, 68.6%)
CIE-LABlab(19.27, 34.00, -22.50)
CIE-LCHlch(19.27, 40.77, 326.50°)
OKLaboklab(31.87% 0.0937 -0.0623)
OKLCHoklch(31.87% 0.113 326.4)
XYZxyz(4.8962, 2.8120, 7.8727)
Luminance0.0281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1750 #195017
analogous
#321750 #4E1750 #501735
triadic
#4E1750 #504E17 #17504E
tetradic
#4E1750 #503217 #195017 #173550
square
#4E1750 #503217 #195017 #173550
split-complementary
#4E1750 #355017 #175032
monochromatic
#170718 #200920 #4E1750 #7C2580 #AB32AF

Accessibility & contrast

On white

13.44
#4E1750 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4E1750 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1750
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1750#FFFFFF#000000##FFFFFF
##4E17501.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2A52
Deuteranopia (green-blind)
#23314F
Tritanopia (blue-blind)
#501F31
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1750;
/* rgb */ color: rgb(78, 23, 80);
/* oklch */ color: oklch(31.9% 0.113 326.4);
Tailwind
colors: {
  custom: {
    50: '#825981',
    500: '#4e1750',
    950: '#000000',
  },
}
SCSS
$custom: #4e1750;
$custom-light: #825981;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1750",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 80
  },
  "hsl": {
    "h": 297.895,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31867,
    "c": 0.11256,
    "h": 326.4
  },
  "luminance": 0.02812
}

Semantic roles & 50–950 ramp

primary
#4E1750
secondary
#3E873C
accent
#DF494E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E1750

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

Preview Lab → · Contrast checker → · Palette generator →

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