#4B0D4D#4B0D4D

#4B0D4D is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.1% C 0.121 H 326.7°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#4B0D4D
RGBrgb(75, 13, 77)
HSLhsl(298, 71%, 18%)
HSVhsv(298, 83%, 30%)
CMYKcmyk(2.6%, 83.1%, 0%, 69.8%)
CIE-LABlab(17.08, 36.73, -23.97)
CIE-LCHlch(17.08, 43.86, 326.87°)
OKLaboklab(30.12% 0.1014 -0.0666)
OKLCHoklch(30.12% 0.121 326.7)
XYZxyz(4.3851, 2.3198, 7.2366)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0D4D #0F4D0D
analogous
#2B0D4D #4B0D4D #4D0D2F
triadic
#4B0D4D #4D4B0D #0D4D4B
tetradic
#4B0D4D #4D2B0D #0F4D0D #0D2F4D
square
#4B0D4D #4D2B0D #0F4D0D #0D2F4D
split-complementary
#4B0D4D #2F4D0D #0D4D2B
monochromatic
#19041A #19041A #4B0D4D #7E1681 #B11FB6

Accessibility & contrast

On white

14.34
#4B0D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4B0D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0D4D
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0D4D#FFFFFF#000000##FFFFFF
##4B0D4D1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254F
Deuteranopia (green-blind)
#1D2D4B
Tritanopia (blue-blind)
#4D182C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4b0d4d;
/* rgb */ color: rgb(75, 13, 77);
/* oklch */ color: oklch(30.1% 0.121 326.7);
Tailwind
colors: {
  custom: {
    50: '#80547f',
    500: '#4b0d4d',
    950: '#000000',
  },
}
SCSS
$custom: #4b0d4d;
$custom-light: #80547f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0d4d",
  "rgb": {
    "r": 75,
    "g": 13,
    "b": 77
  },
  "hsl": {
    "h": 298.125,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30124,
    "c": 0.1213,
    "h": 326.7
  },
  "luminance": 0.0232
}

Semantic roles & 50–950 ramp

primary
#4B0D4D
secondary
#30882E
accent
#EE3A40
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B0D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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