#4B0D47#4B0D47

#4B0D47 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.7% C 0.116 H 330.9°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#4B0D47
RGBrgb(75, 13, 71)
HSLhsl(304, 70%, 17%)
HSVhsv(304, 83%, 29%)
CMYKcmyk(0%, 82.7%, 5.3%, 70.6%)
CIE-LABlab(16.69, 35.60, -20.46)
CIE-LCHlch(16.69, 41.06, 330.12°)
OKLaboklab(29.72% 0.1014 -0.0564)
OKLCHoklch(29.72% 0.116 330.9)
XYZxyz(4.1829, 2.2390, 6.1719)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0D47 #0D4B11
analogous
#300D4B #4B0D47 #4B0D28
triadic
#4B0D47 #474B0D #0D474B
tetradic
#4B0D47 #4B300D #0D4B11 #0D284B
square
#4B0D47 #4B300D #0D4B11 #0D284B
split-complementary
#4B0D47 #284B0D #0D4B30
monochromatic
#1A0519 #1A0519 #4B0D47 #7F1678 #B31FAA

Accessibility & contrast

On white

14.50
#4B0D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4B0D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0D47
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0D47#FFFFFF#000000##FFFFFF
##4B0D471.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072449
Deuteranopia (green-blind)
#212C46
Tritanopia (blue-blind)
#4E1529
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4b0d47;
/* rgb */ color: rgb(75, 13, 71);
/* oklch */ color: oklch(29.7% 0.116 330.9);
Tailwind
colors: {
  custom: {
    50: '#80547a',
    500: '#4b0d47',
    950: '#000000',
  },
}
SCSS
$custom: #4b0d47;
$custom-light: #80547a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0d47",
  "rgb": {
    "r": 75,
    "g": 13,
    "b": 71
  },
  "hsl": {
    "h": 303.871,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29721,
    "c": 0.11606,
    "h": 330.9
  },
  "luminance": 0.02239
}

Semantic roles & 50–950 ramp

primary
#4B0D47
secondary
#2E8633
accent
#ED463B
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4B0D47

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

Preview Lab → · Contrast checker → · Palette generator →

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