#4B1B60#4B1B60

#4B1B60 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.122 H 313.7°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#4B1B60
RGBrgb(75, 27, 96)
HSLhsl(282, 56%, 24%)
HSVhsv(282, 72%, 38%)
CMYKcmyk(21.9%, 71.9%, 0%, 62.4%)
CIE-LABlab(20.54, 34.79, -31.22)
CIE-LCHlch(20.54, 46.75, 318.09°)
OKLaboklab(33.02% 0.0842 -0.0879)
OKLCHoklch(33.02% 0.122 313.7)
XYZxyz(5.4045, 3.1244, 11.3824)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1B60 #30601B
analogous
#291B60 #4B1B60 #601B53
triadic
#4B1B60 #604B1B #1B604B
tetradic
#4B1B60 #60291B #30601B #1B5360
square
#4B1B60 #60291B #30601B #1B5360
split-complementary
#4B1B60 #53601B #1B6029
monochromatic
#130718 #260E30 #4B1B60 #702890 #9636C0

Accessibility & contrast

On white

12.92
#4B1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4B1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1B60
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1B60#FFFFFF#000000##FFFFFF
##4B1B601.0012.921.6212.92
#FFFFFF12.921.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#17335E
Tritanopia (blue-blind)
#49293B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b1b60;
/* rgb */ color: rgb(75, 27, 96);
/* oklch */ color: oklch(33.0% 0.122 313.7);
Tailwind
colors: {
  custom: {
    50: '#805c8e',
    500: '#4b1b60',
    950: '#000000',
  },
}
SCSS
$custom: #4b1b60;
$custom-light: #805c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1b60",
  "rgb": {
    "r": 75,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 281.739,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33016,
    "c": 0.12171,
    "h": 313.7
  },
  "luminance": 0.03124
}

Semantic roles & 50–950 ramp

primary
#4B1B60
secondary
#5B9641
accent
#DF4876
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4B1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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