#4B0D52#4B0D52

#4B0D52 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.5% C 0.126 H 323.4°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#4B0D52
RGBrgb(75, 13, 82)
HSLhsl(294, 73%, 19%)
HSVhsv(294, 84%, 32%)
CMYKcmyk(8.5%, 84.1%, 0%, 67.8%)
CIE-LABlab(17.43, 37.70, -26.83)
CIE-LCHlch(17.43, 46.28, 324.56°)
OKLaboklab(30.48% 0.101 -0.075)
OKLCHoklch(30.48% 0.126 323.4)
XYZxyz(4.5684, 2.3932, 8.2023)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0D52 #14520D
analogous
#280D52 #4B0D52 #520D36
triadic
#4B0D52 #524B0D #0D524B
tetradic
#4B0D52 #52280D #14520D #0D3652
square
#4B0D52 #52280D #14520D #0D3652
split-complementary
#4B0D52 #36520D #0D5228
monochromatic
#18041A #1B051D #4B0D52 #7B1587 #AC1EBC

Accessibility & contrast

On white

14.20
#4B0D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B0D52
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0D52#FFFFFF#000000##FFFFFF
##4B0D521.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#1A2D50
Tritanopia (blue-blind)
#4C1B2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4b0d52;
/* rgb */ color: rgb(75, 13, 82);
/* oklch */ color: oklch(30.5% 0.126 323.4);
Tailwind
colors: {
  custom: {
    50: '#805483',
    500: '#4b0d52',
    950: '#000000',
  },
}
SCSS
$custom: #4b0d52;
$custom-light: #805483;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0d52",
  "rgb": {
    "r": 75,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 293.913,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3048,
    "c": 0.1258,
    "h": 323.4
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#4B0D52
secondary
#388D2E
accent
#EF384B
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B0D52

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

Preview Lab → · Contrast checker → · Palette generator →

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