#4B0B47#4B0B47

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

Color values

HEX#4B0B47
RGBrgb(75, 11, 71)
HSLhsl(304, 74%, 17%)
HSVhsv(304, 85%, 29%)
CMYKcmyk(0%, 85.3%, 5.3%, 70.6%)
CIE-LABlab(16.46, 36.29, -20.83)
CIE-LCHlch(16.46, 41.84, 330.14°)
OKLaboklab(29.55% 0.1034 -0.0575)
OKLCHoklch(29.55% 0.118 330.9)
XYZxyz(4.1586, 2.1905, 6.1638)
Luminance0.0219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0B47 #0B4B0F
analogous
#2F0B4B #4B0B47 #4B0B27
triadic
#4B0B47 #474B0B #0B474B
tetradic
#4B0B47 #4B2F0B #0B4B0F #0B274B
square
#4B0B47 #4B2F0B #0B4B0F #0B274B
split-complementary
#4B0B47 #274B0B #0B4B2F
monochromatic
#1B0419 #1B0419 #4B0B47 #80137A #B61BAC

Accessibility & contrast

On white

14.60
#4B0B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B0B47
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0B47#FFFFFF#000000##FFFFFF
##4B0B471.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042349
Deuteranopia (green-blind)
#202C45
Tritanopia (blue-blind)
#4E1429
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4b0b47;
/* rgb */ color: rgb(75, 11, 71);
/* oklch */ color: oklch(29.6% 0.118 330.9);
Tailwind
colors: {
  custom: {
    50: '#80537a',
    500: '#4b0b47',
    950: '#000000',
  },
}
SCSS
$custom: #4b0b47;
$custom-light: #80537a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0b47",
  "rgb": {
    "r": 75,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 303.75,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.29551,
    "c": 0.1183,
    "h": 330.9
  },
  "luminance": 0.0219
}

Semantic roles & 50–950 ramp

primary
#4B0B47
secondary
#2B8730
accent
#F14237
background
#F8F5F7
surface
#EFE8ED
border
#CAC4C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4B0B47

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

Preview Lab → · Contrast checker → · Palette generator →

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