#4E1947#4E1947

#4E1947 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.6% C 0.101 H 333.2°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#4E1947
RGBrgb(78, 25, 71)
HSLhsl(308, 51%, 20%)
HSVhsv(308, 68%, 31%)
CMYKcmyk(0%, 67.9%, 9%, 69.4%)
CIE-LABlab(19.10, 31.28, -16.64)
CIE-LCHlch(19.10, 35.43, 331.99°)
OKLaboklab(31.57% 0.0901 -0.0454)
OKLCHoklch(31.57% 0.101 333.2)
XYZxyz(4.6269, 2.7702, 6.2510)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1947 #194E20
analogous
#3B194E #4E1947 #4E192C
triadic
#4E1947 #474E19 #19474E
tetradic
#4E1947 #4E3B19 #194E20 #192C4E
square
#4E1947 #4E3B19 #194E20 #192C4E
split-complementary
#4E1947 #2C4E19 #194E3B
monochromatic
#170715 #200A1D #4E1947 #7C2871 #AB379B

Accessibility & contrast

On white

13.51
#4E1947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4E1947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1947
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1947#FFFFFF#000000##FFFFFF
##4E19471.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182948
Deuteranopia (green-blind)
#293146
Tritanopia (blue-blind)
#521D2D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1947;
/* rgb */ color: rgb(78, 25, 71);
/* oklch */ color: oklch(31.6% 0.101 333.2);
Tailwind
colors: {
  custom: {
    50: '#825a7a',
    500: '#4e1947',
    950: '#000000',
  },
}
SCSS
$custom: #4e1947;
$custom-light: #825a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1947",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 71
  },
  "hsl": {
    "h": 307.925,
    "s": 51.456,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3157,
    "c": 0.10091,
    "h": 333.2
  },
  "luminance": 0.0277
}

Semantic roles & 50–950 ramp

primary
#4E1947
secondary
#3E8448
accent
#DB604D
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4E1947

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

Preview Lab → · Contrast checker → · Palette generator →

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