#4E1565#4E1565

#4E1565 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.136 H 314.0°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#4E1565
RGBrgb(78, 21, 101)
HSLhsl(283, 66%, 24%)
HSVhsv(283, 79%, 40%)
CMYKcmyk(22.8%, 79.2%, 0%, 60.4%)
CIE-LABlab(20.42, 39.38, -34.67)
CIE-LCHlch(20.42, 52.47, 318.64°)
OKLaboklab(33.16% 0.0947 -0.0979)
OKLCHoklch(33.16% 0.136 314)
XYZxyz(5.7586, 3.0958, 12.6036)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1565 #2C6515
analogous
#261565 #4E1565 #651554
triadic
#4E1565 #654E15 #15654E
tetradic
#4E1565 #652615 #2C6515 #155465
square
#4E1565 #652615 #2C6515 #155465
split-complementary
#4E1565 #546515 #156526
monochromatic
#140519 #270A32 #4E1565 #752098 #9C2ACA

Accessibility & contrast

On white

12.97
#4E1565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4E1565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1565
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1565#FFFFFF#000000##FFFFFF
##4E15651.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#0F3363
Tritanopia (blue-blind)
#4C273C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1565;
/* rgb */ color: rgb(78, 21, 101);
/* oklch */ color: oklch(33.2% 0.136 314.0);
Tailwind
colors: {
  custom: {
    50: '#835991',
    500: '#4e1565',
    950: '#000000',
  },
}
SCSS
$custom: #4e1565;
$custom-light: #835991;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1565",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 282.75,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33155,
    "c": 0.13617,
    "h": 314
  },
  "luminance": 0.03096
}

Semantic roles & 50–950 ramp

primary
#4E1565
secondary
#569C3A
accent
#E93F70
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1565

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

Preview Lab → · Contrast checker → · Palette generator →

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