#4E1155#4E1155

#4E1155 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.125 H 323.4°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#4E1155
RGBrgb(78, 17, 85)
HSLhsl(294, 67%, 20%)
HSVhsv(294, 80%, 33%)
CMYKcmyk(8.2%, 80%, 0%, 66.7%)
CIE-LABlab(18.70, 37.55, -26.80)
CIE-LCHlch(18.70, 46.13, 324.49°)
OKLaboklab(31.56% 0.1007 -0.0748)
OKLCHoklch(31.56% 0.125 323.4)
XYZxyz(4.9819, 2.6768, 8.8468)
Luminance0.0268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1155 #185511
analogous
#2C1155 #4E1155 #55113A
triadic
#4E1155 #554E11 #11554E
tetradic
#4E1155 #552C11 #185511 #113A55
square
#4E1155 #552C11 #185511 #113A55
split-complementary
#4E1155 #3A5511 #11552C
monochromatic
#17051A #1F0722 #4E1155 #7D1B88 #AC25BB

Accessibility & contrast

On white

13.68
#4E1155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4E1155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1155
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1155#FFFFFF#000000##FFFFFF
##4E11551.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#1D3053
Tritanopia (blue-blind)
#4F1E32
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e1155;
/* rgb */ color: rgb(78, 17, 85);
/* oklch */ color: oklch(31.6% 0.125 323.4);
Tailwind
colors: {
  custom: {
    50: '#825785',
    500: '#4e1155',
    950: '#000000',
  },
}
SCSS
$custom: #4e1155;
$custom-light: #825785;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1155",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 293.824,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.31559,
    "c": 0.12544,
    "h": 323.4
  },
  "luminance": 0.02676
}

Semantic roles & 50–950 ramp

primary
#4E1155
secondary
#3D8E34
accent
#EA3E50
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4E1155

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

Preview Lab → · Contrast checker → · Palette generator →

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