#4B1164#4B1164

#4B1164 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.2% C 0.139 H 312.9°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#4B1164
RGBrgb(75, 17, 100)
HSLhsl(282, 71%, 23%)
HSVhsv(282, 83%, 39%)
CMYKcmyk(25%, 83%, 0%, 60.8%)
CIE-LABlab(19.30, 40.10, -35.86)
CIE-LCHlch(19.30, 53.80, 318.19°)
OKLaboklab(32.23% 0.0944 -0.1015)
OKLCHoklch(32.23% 0.139 312.9)
XYZxyz(5.4019, 2.8170, 12.3133)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1164 #2A6411
analogous
#221164 #4B1164 #641153
triadic
#4B1164 #644B11 #11644B
tetradic
#4B1164 #642211 #2A6411 #115364
square
#4B1164 #642211 #2A6411 #115364
split-complementary
#4B1164 #536411 #116422
monochromatic
#14041A #240830 #4B1164 #721A98 #9923CD

Accessibility & contrast

On white

13.43
#4B1164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4B1164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1164
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1164#FFFFFF#000000##FFFFFF
##4B11641.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#053062
Tritanopia (blue-blind)
#48253A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4b1164;
/* rgb */ color: rgb(75, 17, 100);
/* oklch */ color: oklch(32.2% 0.139 312.9);
Tailwind
colors: {
  custom: {
    50: '#815791',
    500: '#4b1164',
    950: '#000000',
  },
}
SCSS
$custom: #4b1164;
$custom-light: #815791;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1164",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 281.928,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32233,
    "c": 0.13862,
    "h": 312.9
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#4B1164
secondary
#549C35
accent
#EE3A70
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030D
muted
#7C787D

Preview Lab

Preview with #4B1164

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

Preview Lab → · Contrast checker → · Palette generator →

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