#4B1160#4B1160

#4B1160 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.9% C 0.135 H 315.0°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#4B1160
RGBrgb(75, 17, 96)
HSLhsl(284, 70%, 22%)
HSVhsv(284, 82%, 38%)
CMYKcmyk(21.9%, 82.3%, 0%, 62.4%)
CIE-LABlab(18.98, 39.21, -33.73)
CIE-LCHlch(18.98, 51.72, 319.29°)
OKLaboklab(31.91% 0.0952 -0.0952)
OKLCHoklch(31.91% 0.135 315)
XYZxyz(5.2131, 2.7415, 11.3186)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1160 #266011
analogous
#241160 #4B1160 #60114E
triadic
#4B1160 #604B11 #11604B
tetradic
#4B1160 #602411 #266011 #114E60
square
#4B1160 #602411 #266011 #114E60
split-complementary
#4B1160 #4E6011 #116024
monochromatic
#14051A #22082C #4B1160 #741A94 #9C23C8

Accessibility & contrast

On white

13.56
#4B1160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4B1160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1160
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1160#FFFFFF#000000##FFFFFF
##4B11601.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#0D305E
Tritanopia (blue-blind)
#492338
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b1160;
/* rgb */ color: rgb(75, 17, 96);
/* oklch */ color: oklch(31.9% 0.135 315.0);
Tailwind
colors: {
  custom: {
    50: '#81578e',
    500: '#4b1160',
    950: '#000000',
  },
}
SCSS
$custom: #4b1160;
$custom-light: #81578e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1160",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 284.051,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31908,
    "c": 0.13468,
    "h": 315
  },
  "luminance": 0.02741
}

Semantic roles & 50–950 ramp

primary
#4B1160
secondary
#4F9934
accent
#ED3B6A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B1160

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

Preview Lab → · Contrast checker → · Palette generator →

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