#4E1465#4E1465

#4E1465 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.137 H 314.1°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#4E1465
RGBrgb(78, 20, 101)
HSLhsl(283, 67%, 24%)
HSVhsv(283, 80%, 40%)
CMYKcmyk(22.8%, 80.2%, 0%, 60.4%)
CIE-LABlab(20.28, 39.79, -34.90)
CIE-LCHlch(20.28, 52.93, 318.74°)
OKLaboklab(33.05% 0.0957 -0.0986)
OKLCHoklch(33.05% 0.137 314.1)
XYZxyz(5.7406, 3.0598, 12.5976)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1465 #2B6514
analogous
#251465 #4E1465 #651453
triadic
#4E1465 #654E14 #14654E
tetradic
#4E1465 #652514 #2B6514 #145365
square
#4E1465 #652514 #2B6514 #145365
split-complementary
#4E1465 #536514 #146525
monochromatic
#14051A #270A32 #4E1465 #751E98 #9D28CB

Accessibility & contrast

On white

13.03
#4E1465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4E1465 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1465
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1465#FFFFFF#000000##FFFFFF
##4E14651.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1465;
/* rgb */ color: rgb(78, 20, 101);
/* oklch */ color: oklch(33.1% 0.137 314.1);
Tailwind
colors: {
  custom: {
    50: '#835991',
    500: '#4e1465',
    950: '#000000',
  },
}
SCSS
$custom: #4e1465;
$custom-light: #835991;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1465",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 282.963,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33054,
    "c": 0.13736,
    "h": 314.1
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#4E1465
secondary
#559C39
accent
#EA3E6F
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1465

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

Preview Lab → · Contrast checker → · Palette generator →

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