#4A0B47#4A0B47

#4A0B47 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.4% C 0.118 H 330.2°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#4A0B47
RGBrgb(74, 11, 71)
HSLhsl(303, 74%, 17%)
HSVhsv(303, 85%, 29%)
CMYKcmyk(0%, 85.1%, 4.1%, 71%)
CIE-LABlab(16.26, 36.04, -21.16)
CIE-LCHlch(16.26, 41.80, 329.58°)
OKLaboklab(29.37% 0.1022 -0.0585)
OKLCHoklch(29.37% 0.118 330.2)
XYZxyz(4.0810, 2.1504, 6.1602)
Luminance0.0215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0B47 #0B4A0E
analogous
#2E0B4A #4A0B47 #4A0B28
triadic
#4A0B47 #474A0B #0B474A
tetradic
#4A0B47 #4A2E0B #0B4A0E #0B284A
square
#4A0B47 #4A2E0B #0B4A0E #0B284A
split-complementary
#4A0B47 #284A0B #0B4A2E
monochromatic
#1B041A #1B041A #4A0B47 #7F137A #B51BAD

Accessibility & contrast

On white

14.69
#4A0B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0B47
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0B47#FFFFFF#000000##FFFFFF
##4A0B471.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032349
Deuteranopia (green-blind)
#1F2B46
Tritanopia (blue-blind)
#4D1429
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0b47;
/* rgb */ color: rgb(74, 11, 71);
/* oklch */ color: oklch(29.4% 0.118 330.2);
Tailwind
colors: {
  custom: {
    50: '#7f537a',
    500: '#4a0b47',
    950: '#000000',
  },
}
SCSS
$custom: #4a0b47;
$custom-light: #7f537a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0b47",
  "rgb": {
    "r": 74,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 302.857,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29372,
    "c": 0.11775,
    "h": 330.2
  },
  "luminance": 0.0215
}

Semantic roles & 50–950 ramp

primary
#4A0B47
secondary
#2B862F
accent
#F14037
background
#F8F4F7
surface
#EFE8ED
border
#CAC4C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0B47

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

Preview Lab → · Contrast checker → · Palette generator →

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