#4A0B42#4A0B42

#4A0B42 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.0% C 0.114 H 334.0°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#4A0B42
RGBrgb(74, 11, 66)
HSLhsl(308, 74%, 17%)
HSVhsv(308, 85%, 29%)
CMYKcmyk(0%, 85.1%, 10.8%, 71%)
CIE-LABlab(15.95, 35.15, -18.17)
CIE-LCHlch(15.95, 39.57, 332.67°)
OKLaboklab(29.05% 0.1021 -0.0498)
OKLCHoklch(29.05% 0.114 334)
XYZxyz(3.9271, 2.0889, 5.3496)
Luminance0.0209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0B42 #0B4A13
analogous
#330B4A #4A0B42 #4A0B23
triadic
#4A0B42 #424A0B #0B424A
tetradic
#4A0B42 #4A330B #0B4A13 #0B234A
square
#4A0B42 #4A330B #0B4A13 #0B234A
split-complementary
#4A0B42 #234A0B #0B4A33
monochromatic
#1B0418 #1B0418 #4A0B42 #7F1372 #B51BA1

Accessibility & contrast

On white

14.81
#4A0B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4A0B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0B42
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0B42#FFFFFF#000000##FFFFFF
##4A0B421.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092243
Deuteranopia (green-blind)
#222B41
Tritanopia (blue-blind)
#4E1126
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0b42;
/* rgb */ color: rgb(74, 11, 66);
/* oklch */ color: oklch(29.0% 0.114 334.0);
Tailwind
colors: {
  custom: {
    50: '#7f5376',
    500: '#4a0b42',
    950: '#000000',
  },
}
SCSS
$custom: #4a0b42;
$custom-light: #7f5376;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0b42",
  "rgb": {
    "r": 74,
    "g": 11,
    "b": 66
  },
  "hsl": {
    "h": 307.619,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29049,
    "c": 0.11357,
    "h": 334
  },
  "luminance": 0.02089
}

Semantic roles & 50–950 ramp

primary
#4A0B42
secondary
#2B8636
accent
#F14F37
background
#F8F4F7
surface
#EFE7ED
border
#CAC3C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A0B42

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

Preview Lab → · Contrast checker → · Palette generator →

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