#4E1765#4E1765

#4E1765 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.134 H 313.8°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#4E1765
RGBrgb(78, 23, 101)
HSLhsl(282, 63%, 24%)
HSVhsv(282, 77%, 40%)
CMYKcmyk(22.8%, 77.2%, 0%, 60.4%)
CIE-LABlab(20.72, 38.53, -34.19)
CIE-LCHlch(20.72, 51.51, 318.42°)
OKLaboklab(33.37% 0.0925 -0.0965)
OKLCHoklch(33.37% 0.134 313.8)
XYZxyz(5.7968, 3.1723, 12.6163)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1765 #2E6517
analogous
#271765 #4E1765 #651755
triadic
#4E1765 #654E17 #17654E
tetradic
#4E1765 #652717 #2E6517 #175565
square
#4E1765 #652717 #2E6517 #175565
split-complementary
#4E1765 #556517 #176527
monochromatic
#130619 #280C33 #4E1765 #742297 #9B2EC9

Accessibility & contrast

On white

12.85
#4E1765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4E1765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1765
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1765#FFFFFF#000000##FFFFFF
##4E17651.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#113363
Tritanopia (blue-blind)
#4C283C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e1765;
/* rgb */ color: rgb(78, 23, 101);
/* oklch */ color: oklch(33.4% 0.134 313.8);
Tailwind
colors: {
  custom: {
    50: '#835a91',
    500: '#4e1765',
    950: '#000000',
  },
}
SCSS
$custom: #4e1765;
$custom-light: #835a91;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1765",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 282.308,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33366,
    "c": 0.13371,
    "h": 313.8
  },
  "luminance": 0.03172
}

Semantic roles & 50–950 ramp

primary
#4E1765
secondary
#589B3C
accent
#E64272
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1765

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

Preview Lab → · Contrast checker → · Palette generator →

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