#4A0B44#4A0B44

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

Color values

HEX#4A0B44
RGBrgb(74, 11, 68)
HSLhsl(306, 74%, 17%)
HSVhsv(306, 85%, 29%)
CMYKcmyk(0%, 85.1%, 8.1%, 71%)
CIE-LABlab(16.07, 35.50, -19.38)
CIE-LCHlch(16.07, 40.45, 331.38°)
OKLaboklab(29.18% 0.1022 -0.0533)
OKLCHoklch(29.18% 0.115 332.5)
XYZxyz(3.9871, 2.1129, 5.6656)
Luminance0.0211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0B44 #0B4A11
analogous
#310B4A #4A0B44 #4A0B25
triadic
#4A0B44 #444A0B #0B444A
tetradic
#4A0B44 #4A310B #0B4A11 #0B254A
square
#4A0B44 #4A310B #0B4A11 #0B254A
split-complementary
#4A0B44 #254A0B #0B4A31
monochromatic
#1B0418 #1B0418 #4A0B44 #7F1375 #B51BA6

Accessibility & contrast

On white

14.76
#4A0B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0B44
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0B44#FFFFFF#000000##FFFFFF
##4A0B441.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072246
Deuteranopia (green-blind)
#212B43
Tritanopia (blue-blind)
#4E1227
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0b44;
/* rgb */ color: rgb(74, 11, 68);
/* oklch */ color: oklch(29.2% 0.115 332.5);
Tailwind
colors: {
  custom: {
    50: '#7f5378',
    500: '#4a0b44',
    950: '#000000',
  },
}
SCSS
$custom: #4a0b44;
$custom-light: #7f5378;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0b44",
  "rgb": {
    "r": 74,
    "g": 11,
    "b": 68
  },
  "hsl": {
    "h": 305.714,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29175,
    "c": 0.11522,
    "h": 332.5
  },
  "luminance": 0.02113
}

Semantic roles & 50–950 ramp

primary
#4A0B44
secondary
#2B8633
accent
#F14937
background
#F8F4F7
surface
#EFE8ED
border
#CAC4C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0B44

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

Preview Lab → · Contrast checker → · Palette generator →

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