#4B0D54#4B0D54

#4B0D54 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.6% C 0.128 H 322.2°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#4B0D54
RGBrgb(75, 13, 84)
HSLhsl(292, 73%, 19%)
HSVhsv(292, 85%, 33%)
CMYKcmyk(10.7%, 84.5%, 0%, 67.1%)
CIE-LABlab(17.57, 38.11, -27.96)
CIE-LCHlch(17.57, 47.26, 323.73°)
OKLaboklab(30.63% 0.1008 -0.0783)
OKLCHoklch(30.63% 0.128 322.2)
XYZxyz(4.6456, 2.4241, 8.6090)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0D54 #16540D
analogous
#280D54 #4B0D54 #540D3A
triadic
#4B0D54 #544B0D #0D544B
tetradic
#4B0D54 #54280D #16540D #0D3A54
square
#4B0D54 #54280D #16540D #0D3A54
split-complementary
#4B0D54 #3A540D #0D5428
monochromatic
#18041A #1C051F #4B0D54 #7A1589 #AA1DBE

Accessibility & contrast

On white

14.14
#4B0D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4B0D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0D54
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0D54#FFFFFF#000000##FFFFFF
##4B0D541.0014.141.4814.14
#FFFFFF14.141.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#182D52
Tritanopia (blue-blind)
#4C1C30
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4b0d54;
/* rgb */ color: rgb(75, 13, 84);
/* oklch */ color: oklch(30.6% 0.128 322.2);
Tailwind
colors: {
  custom: {
    50: '#805484',
    500: '#4b0d54',
    950: '#000000',
  },
}
SCSS
$custom: #4b0d54;
$custom-light: #805484;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0d54",
  "rgb": {
    "r": 75,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 292.394,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30628,
    "c": 0.12763,
    "h": 322.2
  },
  "luminance": 0.02424
}

Semantic roles & 50–950 ramp

primary
#4B0D54
secondary
#3A8F2E
accent
#F0384F
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4B0D54

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

Preview Lab → · Contrast checker → · Palette generator →

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