#4B1161#4B1161

#4B1161 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.136 H 314.5°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#4B1161
RGBrgb(75, 17, 97)
HSLhsl(284, 70%, 22%)
HSVhsv(284, 82%, 38%)
CMYKcmyk(22.7%, 82.5%, 0%, 62%)
CIE-LABlab(19.06, 39.43, -34.27)
CIE-LCHlch(19.06, 52.24, 319.01°)
OKLaboklab(31.99% 0.0951 -0.0968)
OKLCHoklch(31.99% 0.136 314.5)
XYZxyz(5.2594, 2.7600, 11.5626)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1161 #276111
analogous
#231161 #4B1161 #61114F
triadic
#4B1161 #614B11 #11614B
tetradic
#4B1161 #612311 #276111 #114F61
square
#4B1161 #612311 #276111 #114F61
split-complementary
#4B1161 #4F6111 #116123
monochromatic
#14051A #23082D #4B1161 #731A95 #9C23C9

Accessibility & contrast

On white

13.53
#4B1161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1161
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1161#FFFFFF#000000##FFFFFF
##4B11611.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B63
Deuteranopia (green-blind)
#0B305F
Tritanopia (blue-blind)
#492439
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b1161;
/* rgb */ color: rgb(75, 17, 97);
/* oklch */ color: oklch(32.0% 0.136 314.5);
Tailwind
colors: {
  custom: {
    50: '#81578e',
    500: '#4b1161',
    950: '#000000',
  },
}
SCSS
$custom: #4b1161;
$custom-light: #81578e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1161",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 97
  },
  "hsl": {
    "h": 283.5,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31988,
    "c": 0.13566,
    "h": 314.5
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#4B1161
secondary
#509934
accent
#ED3B6C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B1161

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

Preview Lab → · Contrast checker → · Palette generator →

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