#4B0D4E#4B0D4E

#4B0D4E is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.2% C 0.122 H 326.0°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#4B0D4E
RGBrgb(75, 13, 78)
HSLhsl(297, 71%, 18%)
HSVhsv(297, 83%, 31%)
CMYKcmyk(3.8%, 83.3%, 0%, 69.4%)
CIE-LABlab(17.15, 36.92, -24.55)
CIE-LCHlch(17.15, 44.34, 326.38°)
OKLaboklab(30.19% 0.1013 -0.0683)
OKLCHoklch(30.19% 0.122 326)
XYZxyz(4.4206, 2.3341, 7.4239)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0D4E #104E0D
analogous
#2A0D4E #4B0D4E #4E0D30
triadic
#4B0D4E #4E4B0D #0D4E4B
tetradic
#4B0D4E #4E2A0D #104E0D #0D304E
square
#4B0D4E #4E2A0D #104E0D #0D304E
split-complementary
#4B0D4E #304E0D #0D4E2A
monochromatic
#19041A #19041A #4B0D4E #7D1682 #B01EB7

Accessibility & contrast

On white

14.32
#4B0D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B0D4E
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0D4E#FFFFFF#000000##FFFFFF
##4B0D4E1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002550
Deuteranopia (green-blind)
#1C2D4C
Tritanopia (blue-blind)
#4D192D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4b0d4e;
/* rgb */ color: rgb(75, 13, 78);
/* oklch */ color: oklch(30.2% 0.122 326.0);
Tailwind
colors: {
  custom: {
    50: '#805480',
    500: '#4b0d4e',
    950: '#000000',
  },
}
SCSS
$custom: #4b0d4e;
$custom-light: #805480;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0d4e",
  "rgb": {
    "r": 75,
    "g": 13,
    "b": 78
  },
  "hsl": {
    "h": 297.231,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30194,
    "c": 0.12219,
    "h": 326
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#4B0D4E
secondary
#32892E
accent
#EE3A42
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B0D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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