#4A0B4A#4A0B4A

#4A0B4A is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.6% C 0.120 H 328.1°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#4A0B4A
RGBrgb(74, 11, 74)
HSLhsl(300, 74%, 17%)
HSVhsv(300, 85%, 29%)
CMYKcmyk(0%, 85.1%, 0%, 71%)
CIE-LABlab(16.45, 36.60, -22.92)
CIE-LCHlch(16.45, 43.18, 327.94°)
OKLaboklab(29.58% 0.1022 -0.0636)
OKLCHoklch(29.58% 0.12 328.1)
XYZxyz(4.1797, 2.1899, 6.6798)
Luminance0.0219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0B4A #0B4A0B
analogous
#2B0B4A #4A0B4A #4A0B2B
triadic
#4A0B4A #4A4A0B #0B4A4A
tetradic
#4A0B4A #4A2B0B #0B4A0B #0B2B4A
square
#4A0B4A #4A2B0B #0B4A0B #0B2B4A
split-complementary
#4A0B4A #2B4A0B #0B4A2B
monochromatic
#1B041B #1B041B #4A0B4A #7F137F #B51BB5

Accessibility & contrast

On white

14.60
#4A0B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0B4A
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0B4A#FFFFFF#000000##FFFFFF
##4A0B4A1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244C
Deuteranopia (green-blind)
#1D2C48
Tritanopia (blue-blind)
#4D162A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a0b4a;
/* rgb */ color: rgb(74, 11, 74);
/* oklch */ color: oklch(29.6% 0.120 328.1);
Tailwind
colors: {
  custom: {
    50: '#7f537d',
    500: '#4a0b4a',
    950: '#000000',
  },
}
SCSS
$custom: #4a0b4a;
$custom-light: #7f537d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0b4a",
  "rgb": {
    "r": 74,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 300,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29575,
    "c": 0.12033,
    "h": 328.1
  },
  "luminance": 0.0219
}

Semantic roles & 50–950 ramp

primary
#4A0B4A
secondary
#2B862B
accent
#F13737
background
#F8F5F7
surface
#EFE8EE
border
#CAC4C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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