#4A0B46#4A0B46

#4A0B46 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.3% C 0.117 H 331.0°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#4A0B46
RGBrgb(74, 11, 70)
HSLhsl(304, 74%, 17%)
HSVhsv(304, 85%, 29%)
CMYKcmyk(0%, 85.1%, 5.4%, 71%)
CIE-LABlab(16.19, 35.86, -20.57)
CIE-LCHlch(16.19, 41.34, 330.16°)
OKLaboklab(29.3% 0.1022 -0.0567)
OKLCHoklch(29.3% 0.117 331)
XYZxyz(4.0492, 2.1377, 5.9925)
Luminance0.0214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0B46 #0B4A0F
analogous
#2F0B4A #4A0B46 #4A0B27
triadic
#4A0B46 #464A0B #0B464A
tetradic
#4A0B46 #4A2F0B #0B4A0F #0B274A
square
#4A0B46 #4A2F0B #0B4A0F #0B274A
split-complementary
#4A0B46 #274A0B #0B4A2F
monochromatic
#1B0419 #1B0419 #4A0B46 #7F1378 #B51BAB

Accessibility & contrast

On white

14.71
#4A0B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4A0B46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0B46
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0B46#FFFFFF#000000##FFFFFF
##4A0B461.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052348
Deuteranopia (green-blind)
#202B45
Tritanopia (blue-blind)
#4D1428
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0b46;
/* rgb */ color: rgb(74, 11, 70);
/* oklch */ color: oklch(29.3% 0.117 331.0);
Tailwind
colors: {
  custom: {
    50: '#7f537a',
    500: '#4a0b46',
    950: '#000000',
  },
}
SCSS
$custom: #4a0b46;
$custom-light: #7f537a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0b46",
  "rgb": {
    "r": 74,
    "g": 11,
    "b": 70
  },
  "hsl": {
    "h": 303.81,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29305,
    "c": 0.11689,
    "h": 331
  },
  "luminance": 0.02137
}

Semantic roles & 50–950 ramp

primary
#4A0B46
secondary
#2B8630
accent
#F14337
background
#F8F4F7
surface
#EFE8ED
border
#CAC4C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0B46

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

Preview Lab → · Contrast checker → · Palette generator →

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