#4E1165#4E1165

#4E1165 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.141 H 314.5°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#4E1165
RGBrgb(78, 17, 101)
HSLhsl(284, 71%, 23%)
HSVhsv(284, 83%, 40%)
CMYKcmyk(22.8%, 83.2%, 0%, 60.4%)
CIE-LABlab(19.88, 40.93, -35.54)
CIE-LCHlch(19.88, 54.21, 319.03°)
OKLaboklab(32.77% 0.0985 -0.1004)
OKLCHoklch(32.77% 0.141 314.5)
XYZxyz(5.6909, 2.9604, 12.5810)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1165 #286511
analogous
#241165 #4E1165 #651152
triadic
#4E1165 #654E11 #11654E
tetradic
#4E1165 #652411 #286511 #115265
square
#4E1165 #652411 #286511 #115265
split-complementary
#4E1165 #526511 #116524
monochromatic
#14041A #260831 #4E1165 #761A99 #9F23CE

Accessibility & contrast

On white

13.19
#4E1165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4E1165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1165
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1165#FFFFFF#000000##FFFFFF
##4E11651.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#0A3163
Tritanopia (blue-blind)
#4C253B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1165;
/* rgb */ color: rgb(78, 17, 101);
/* oklch */ color: oklch(32.8% 0.141 314.5);
Tailwind
colors: {
  custom: {
    50: '#835791',
    500: '#4e1165',
    950: '#000000',
  },
}
SCSS
$custom: #4e1165;
$custom-light: #835791;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1165",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 283.571,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32774,
    "c": 0.14068,
    "h": 314.5
  },
  "luminance": 0.0296
}

Semantic roles & 50–950 ramp

primary
#4E1165
secondary
#519D35
accent
#EE3A6B
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1165

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

Preview Lab → · Contrast checker → · Palette generator →

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