#4B0F4D#4B0F4D

#4B0F4D is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.3% C 0.119 H 326.6°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#4B0F4D
RGBrgb(75, 15, 77)
HSLhsl(298, 67%, 18%)
HSVhsv(298, 81%, 30%)
CMYKcmyk(2.6%, 80.5%, 0%, 69.8%)
CIE-LABlab(17.34, 36.00, -23.57)
CIE-LCHlch(17.34, 43.03, 326.79°)
OKLaboklab(30.31% 0.0993 -0.0655)
OKLCHoklch(30.31% 0.119 326.6)
XYZxyz(4.4120, 2.3736, 7.2455)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F4D #114D0F
analogous
#2C0F4D #4B0F4D #4D0F30
triadic
#4B0F4D #4D4B0F #0F4D4B
tetradic
#4B0F4D #4D2C0F #114D0F #0F304D
square
#4B0F4D #4D2C0F #114D0F #0F304D
split-complementary
#4B0F4D #304D0F #0F4D2C
monochromatic
#19051A #19051A #4B0F4D #7D1980 #AF23B3

Accessibility & contrast

On white

14.24
#4B0F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B0F4D
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F4D#FFFFFF#000000##FFFFFF
##4B0F4D1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02264F
Deuteranopia (green-blind)
#1E2D4B
Tritanopia (blue-blind)
#4D192D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4b0f4d;
/* rgb */ color: rgb(75, 15, 77);
/* oklch */ color: oklch(30.3% 0.119 326.6);
Tailwind
colors: {
  custom: {
    50: '#80557f',
    500: '#4b0f4d',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f4d;
$custom-light: #80557f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f4d",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 298.065,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30305,
    "c": 0.11896,
    "h": 326.6
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

primary
#4B0F4D
secondary
#338731
accent
#EA3E43
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B0F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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