#4B0D42#4B0D42

#4B0D42 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.4% C 0.112 H 334.7°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#4B0D42
RGBrgb(75, 13, 66)
HSLhsl(309, 70%, 17%)
HSVhsv(309, 83%, 29%)
CMYKcmyk(0%, 82.7%, 12%, 70.6%)
CIE-LABlab(16.39, 34.72, -17.46)
CIE-LCHlch(16.39, 38.86, 333.31°)
OKLaboklab(29.41% 0.1012 -0.0477)
OKLCHoklch(29.41% 0.112 334.7)
XYZxyz(4.0290, 2.1774, 5.3613)
Luminance0.0218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0D42 #0D4B16
analogous
#350D4B #4B0D42 #4B0D23
triadic
#4B0D42 #424B0D #0D424B
tetradic
#4B0D42 #4B350D #0D4B16 #0D234B
square
#4B0D42 #4B350D #0D4B16 #0D234B
split-complementary
#4B0D42 #234B0D #0D4B35
monochromatic
#1A0517 #1A0517 #4B0D42 #7F1670 #B31F9E

Accessibility & contrast

On white

14.63
#4B0D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4B0D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0D42
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0D42#FFFFFF#000000##FFFFFF
##4B0D421.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2343
Deuteranopia (green-blind)
#232C41
Tritanopia (blue-blind)
#4F1226
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4b0d42;
/* rgb */ color: rgb(75, 13, 66);
/* oklch */ color: oklch(29.4% 0.112 334.7);
Tailwind
colors: {
  custom: {
    50: '#805476',
    500: '#4b0d42',
    950: '#000000',
  },
}
SCSS
$custom: #4b0d42;
$custom-light: #805476;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0d42",
  "rgb": {
    "r": 75,
    "g": 13,
    "b": 66
  },
  "hsl": {
    "h": 308.71,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29406,
    "c": 0.11186,
    "h": 334.7
  },
  "luminance": 0.02177
}

Semantic roles & 50–950 ramp

primary
#4B0D42
secondary
#2E863A
accent
#ED553B
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4B0D42

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

Preview Lab → · Contrast checker → · Palette generator →

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