#4B1163#4B1163

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

Color values

HEX#4B1163
RGBrgb(75, 17, 99)
HSLhsl(282, 71%, 23%)
HSVhsv(282, 83%, 39%)
CMYKcmyk(24.2%, 82.8%, 0%, 61.2%)
CIE-LABlab(19.22, 39.88, -35.33)
CIE-LCHlch(19.22, 53.28, 318.46°)
OKLaboklab(32.15% 0.0947 -0.0999)
OKLCHoklch(32.15% 0.138 313.5)
XYZxyz(5.3538, 2.7978, 12.0600)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1163 #296311
analogous
#221163 #4B1163 #631152
triadic
#4B1163 #634B11 #11634B
tetradic
#4B1163 #632211 #296311 #115263
square
#4B1163 #632211 #296311 #115263
split-complementary
#4B1163 #526311 #116322
monochromatic
#14041A #23082F #4B1163 #731A97 #9A23CB

Accessibility & contrast

On white

13.46
#4B1163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1163
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1163#FFFFFF#000000##FFFFFF
##4B11631.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b1163;
/* rgb */ color: rgb(75, 17, 99);
/* oklch */ color: oklch(32.2% 0.138 313.5);
Tailwind
colors: {
  custom: {
    50: '#815790',
    500: '#4b1163',
    950: '#000000',
  },
}
SCSS
$custom: #4b1163;
$custom-light: #815790;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1163",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 282.439,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32151,
    "c": 0.13764,
    "h": 313.5
  },
  "luminance": 0.02798
}

Semantic roles & 50–950 ramp

primary
#4B1163
secondary
#539B34
accent
#ED3A6F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B1163

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

Preview Lab → · Contrast checker → · Palette generator →

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