#4A0B4C#4A0B4C

#4A0B4C is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.7% C 0.122 H 326.7°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#4A0B4C
RGBrgb(74, 11, 76)
HSLhsl(298, 75%, 17%)
HSVhsv(298, 86%, 30%)
CMYKcmyk(2.6%, 85.5%, 0%, 70.2%)
CIE-LABlab(16.59, 36.97, -24.09)
CIE-LCHlch(16.59, 44.13, 326.92°)
OKLaboklab(29.71% 0.1021 -0.067)
OKLCHoklch(29.71% 0.122 326.7)
XYZxyz(4.2481, 2.2173, 7.0403)
Luminance0.0222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0B4C #0D4C0B
analogous
#2A0B4C #4A0B4C #4C0B2E
triadic
#4A0B4C #4C4A0B #0B4C4A
tetradic
#4A0B4C #4C2A0B #0D4C0B #0B2E4C
square
#4A0B4C #4C2A0B #0D4C0B #0B2E4C
split-complementary
#4A0B4C #2E4C0B #0B4C2A
monochromatic
#1A041B #1A041B #4A0B4C #7E1381 #B21AB7

Accessibility & contrast

On white

14.55
#4A0B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0B4C
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0B4C#FFFFFF#000000##FFFFFF
##4A0B4C1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a0b4c;
/* rgb */ color: rgb(74, 11, 76);
/* oklch */ color: oklch(29.7% 0.122 326.7);
Tailwind
colors: {
  custom: {
    50: '#7f537e',
    500: '#4a0b4c',
    950: '#000000',
  },
}
SCSS
$custom: #4a0b4c;
$custom-light: #7f537e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0b4c",
  "rgb": {
    "r": 74,
    "g": 11,
    "b": 76
  },
  "hsl": {
    "h": 298.154,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29714,
    "c": 0.12207,
    "h": 326.7
  },
  "luminance": 0.02217
}

Semantic roles & 50–950 ramp

primary
#4A0B4C
secondary
#2E882B
accent
#F1363C
background
#F8F5F7
surface
#EFE8EE
border
#CAC4C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A0B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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