#4B1168#4B1168

#4B1168 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.143 H 311.0°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#4B1168
RGBrgb(75, 17, 104)
HSLhsl(280, 72%, 24%)
HSVhsv(280, 84%, 41%)
CMYKcmyk(27.9%, 83.7%, 0%, 59.2%)
CIE-LABlab(19.62, 41.01, -37.96)
CIE-LCHlch(19.62, 55.88, 317.21°)
OKLaboklab(32.57% 0.0935 -0.1076)
OKLCHoklch(32.57% 0.143 311)
XYZxyz(5.6003, 2.8964, 13.3581)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1168 #2E6811
analogous
#1F1168 #4B1168 #681159
triadic
#4B1168 #684B11 #11684B
tetradic
#4B1168 #681F11 #2E6811 #115968
square
#4B1168 #681F11 #2E6811 #115968
split-complementary
#4B1168 #596811 #11681F
monochromatic
#13041A #250833 #4B1168 #711A9D #9722D1

Accessibility & contrast

On white

13.30
#4B1168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4B1168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1168
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1168#FFFFFF#000000##FFFFFF
##4B11681.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#47273D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4b1168;
/* rgb */ color: rgb(75, 17, 104);
/* oklch */ color: oklch(32.6% 0.143 311.0);
Tailwind
colors: {
  custom: {
    50: '#815794',
    500: '#4b1168',
    950: '#000000',
  },
}
SCSS
$custom: #4b1168;
$custom-light: #815794;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1168",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 280,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32566,
    "c": 0.14259,
    "h": 311
  },
  "luminance": 0.02896
}

Semantic roles & 50–950 ramp

primary
#4B1168
secondary
#59A035
accent
#EF3976
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4B1168

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

Preview Lab → · Contrast checker → · Palette generator →

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