#4A0B45#4A0B45

#4A0B45 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.2% C 0.116 H 331.7°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#4A0B45
RGBrgb(74, 11, 69)
HSLhsl(305, 74%, 17%)
HSVhsv(305, 85%, 29%)
CMYKcmyk(0%, 85.1%, 6.8%, 71%)
CIE-LABlab(16.13, 35.68, -19.97)
CIE-LCHlch(16.13, 40.89, 330.76°)
OKLaboklab(29.24% 0.1022 -0.055)
OKLCHoklch(29.24% 0.116 331.7)
XYZxyz(4.0179, 2.1252, 5.8277)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0B45 #0B4A10
analogous
#300B4A #4A0B45 #4A0B26
triadic
#4A0B45 #454A0B #0B454A
tetradic
#4A0B45 #4A300B #0B4A10 #0B264A
square
#4A0B45 #4A300B #0B4A10 #0B264A
split-complementary
#4A0B45 #264A0B #0B4A30
monochromatic
#1B0419 #1B0419 #4A0B45 #7F1377 #B51BA8

Accessibility & contrast

On white

14.74
#4A0B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0B45
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0B45#FFFFFF#000000##FFFFFF
##4A0B451.0014.741.4314.74
#FFFFFF14.741.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062247
Deuteranopia (green-blind)
#202B44
Tritanopia (blue-blind)
#4D1327
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0b45;
/* rgb */ color: rgb(74, 11, 69);
/* oklch */ color: oklch(29.2% 0.116 331.7);
Tailwind
colors: {
  custom: {
    50: '#7f5379',
    500: '#4a0b45',
    950: '#000000',
  },
}
SCSS
$custom: #4a0b45;
$custom-light: #7f5379;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0b45",
  "rgb": {
    "r": 74,
    "g": 11,
    "b": 69
  },
  "hsl": {
    "h": 304.762,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2924,
    "c": 0.11606,
    "h": 331.7
  },
  "luminance": 0.02125
}

Semantic roles & 50–950 ramp

primary
#4A0B45
secondary
#2B8632
accent
#F14637
background
#F8F4F7
surface
#EFE8ED
border
#CAC4C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0B45

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

Preview Lab → · Contrast checker → · Palette generator →

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