#4B0F42#4B0F42

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

Color values

HEX#4B0F42
RGBrgb(75, 15, 66)
HSLhsl(309, 67%, 18%)
HSVhsv(309, 80%, 29%)
CMYKcmyk(0%, 80%, 12%, 70.6%)
CIE-LABlab(16.66, 33.96, -17.04)
CIE-LCHlch(16.66, 38.00, 333.35°)
OKLaboklab(29.6% 0.0989 -0.0466)
OKLCHoklch(29.6% 0.109 334.8)
XYZxyz(4.0559, 2.2312, 5.3703)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F42 #0F4B18
analogous
#360F4B #4B0F42 #4B0F24
triadic
#4B0F42 #424B0F #0F424B
tetradic
#4B0F42 #4B360F #0F4B18 #0F244B
square
#4B0F42 #4B360F #0F4B18 #0F244B
split-complementary
#4B0F42 #244B0F #0F4B36
monochromatic
#1A0516 #1A0516 #4B0F42 #7E196F #B1239C

Accessibility & contrast

On white

14.52
#4B0F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B0F42
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F42#FFFFFF#000000##FFFFFF
##4B0F421.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2343
Deuteranopia (green-blind)
#242C41
Tritanopia (blue-blind)
#4F1427
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4b0f42;
/* rgb */ color: rgb(75, 15, 66);
/* oklch */ color: oklch(29.6% 0.109 334.8);
Tailwind
colors: {
  custom: {
    50: '#805476',
    500: '#4b0f42',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f42;
$custom-light: #805476;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f42",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 309,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29597,
    "c": 0.10936,
    "h": 334.8
  },
  "luminance": 0.02231
}

Semantic roles & 50–950 ramp

primary
#4B0F42
secondary
#30853D
accent
#EA583E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4B0F42

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

Preview Lab → · Contrast checker → · Palette generator →

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