#4A0B41#4A0B41

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

Color values

HEX#4A0B41
RGBrgb(74, 11, 65)
HSLhsl(309, 74%, 17%)
HSVhsv(309, 85%, 29%)
CMYKcmyk(0%, 85.1%, 12.2%, 71%)
CIE-LABlab(15.89, 34.98, -17.56)
CIE-LCHlch(15.89, 39.14, 333.34°)
OKLaboklab(28.99% 0.102 -0.0481)
OKLCHoklch(28.99% 0.113 334.8)
XYZxyz(3.8979, 2.0772, 5.1957)
Luminance0.0208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0B41 #0B4A14
analogous
#340B4A #4A0B41 #4A0B22
triadic
#4A0B41 #414A0B #0B414A
tetradic
#4A0B41 #4A340B #0B4A14 #0B224A
square
#4A0B41 #4A340B #0B4A14 #0B224A
split-complementary
#4A0B41 #224A0B #0B4A34
monochromatic
#1B0417 #1B0417 #4A0B41 #7F1370 #B51B9F

Accessibility & contrast

On white

14.84
#4A0B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0B41
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0B41#FFFFFF#000000##FFFFFF
##4A0B411.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2242
Deuteranopia (green-blind)
#222B40
Tritanopia (blue-blind)
#4E1125
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0b41;
/* rgb */ color: rgb(74, 11, 65);
/* oklch */ color: oklch(29.0% 0.113 334.8);
Tailwind
colors: {
  custom: {
    50: '#7f5376',
    500: '#4a0b41',
    950: '#000000',
  },
}
SCSS
$custom: #4a0b41;
$custom-light: #7f5376;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0b41",
  "rgb": {
    "r": 74,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 308.571,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28987,
    "c": 0.11276,
    "h": 334.8
  },
  "luminance": 0.02077
}

Semantic roles & 50–950 ramp

primary
#4A0B41
secondary
#2B8638
accent
#F15237
background
#F8F4F7
surface
#EFE7ED
border
#CAC3C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A0B41

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

Preview Lab → · Contrast checker → · Palette generator →

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