#4B0A4C#4B0A4C

#4B0A4C is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.8% C 0.124 H 327.5°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#4B0A4C
RGBrgb(75, 10, 76)
HSLhsl(299, 77%, 17%)
HSVhsv(299, 87%, 30%)
CMYKcmyk(1.3%, 86.8%, 0%, 70.2%)
CIE-LABlab(16.68, 37.52, -23.94)
CIE-LCHlch(16.68, 44.50, 327.46°)
OKLaboklab(29.81% 0.1042 -0.0665)
OKLCHoklch(29.81% 0.124 327.5)
XYZxyz(4.3146, 2.2351, 7.0402)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0A4C #0B4C0A
analogous
#2A0A4C #4B0A4C #4C0A2C
triadic
#4B0A4C #4C4B0A #0A4C4B
tetradic
#4B0A4C #4C2A0A #0B4C0A #0A2C4C
square
#4B0A4C #4C2A0A #0B4C0A #0A2C4C
split-complementary
#4B0A4C #2C4C0A #0A4C2A
monochromatic
#1B041B #1B041B #4B0A4C #801182 #B618B8

Accessibility & contrast

On white

14.51
#4B0A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B0A4C
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0A4C#FFFFFF#000000##FFFFFF
##4B0A4C1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#1D2C4A
Tritanopia (blue-blind)
#4D162B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4b0a4c;
/* rgb */ color: rgb(75, 10, 76);
/* oklch */ color: oklch(29.8% 0.124 327.5);
Tailwind
colors: {
  custom: {
    50: '#80537e',
    500: '#4b0a4c',
    950: '#000000',
  },
}
SCSS
$custom: #4b0a4c;
$custom-light: #80537e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0a4c",
  "rgb": {
    "r": 75,
    "g": 10,
    "b": 76
  },
  "hsl": {
    "h": 299.091,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.29813,
    "c": 0.12359,
    "h": 327.5
  },
  "luminance": 0.02235
}

Semantic roles & 50–950 ramp

primary
#4B0A4C
secondary
#2B8929
accent
#F33537
background
#F8F5F7
surface
#EFE8EE
border
#CAC4C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B0A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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