#4B0D4F#4B0D4F

#4B0D4F is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.3% C 0.123 H 325.4°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#4B0D4F
RGBrgb(75, 13, 79)
HSLhsl(296, 72%, 18%)
HSVhsv(296, 84%, 31%)
CMYKcmyk(5.1%, 83.5%, 0%, 69%)
CIE-LABlab(17.22, 37.12, -25.12)
CIE-LCHlch(17.22, 44.82, 325.91°)
OKLaboklab(30.26% 0.1013 -0.07)
OKLCHoklch(30.26% 0.123 325.4)
XYZxyz(4.4568, 2.3485, 7.6142)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0D4F #114F0D
analogous
#2A0D4F #4B0D4F #4F0D32
triadic
#4B0D4F #4F4B0D #0D4F4B
tetradic
#4B0D4F #4F2A0D #114F0D #0D324F
square
#4B0D4F #4F2A0D #114F0D #0D324F
split-complementary
#4B0D4F #324F0D #0D4F2A
monochromatic
#19041A #19041A #4B0D4F #7D1684 #AF1EB8

Accessibility & contrast

On white

14.29
#4B0D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4B0D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0D4F
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0D4F#FFFFFF#000000##FFFFFF
##4B0D4F1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#1C2D4D
Tritanopia (blue-blind)
#4D192E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4b0d4f;
/* rgb */ color: rgb(75, 13, 79);
/* oklch */ color: oklch(30.3% 0.123 325.4);
Tailwind
colors: {
  custom: {
    50: '#805481',
    500: '#4b0d4f',
    950: '#000000',
  },
}
SCSS
$custom: #4b0d4f;
$custom-light: #805481;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0d4f",
  "rgb": {
    "r": 75,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 296.364,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30265,
    "c": 0.12309,
    "h": 325.4
  },
  "luminance": 0.02348
}

Semantic roles & 50–950 ramp

primary
#4B0D4F
secondary
#338A2E
accent
#EE3944
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B0D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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