#4A0F47#4A0F47

#4A0F47 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.7% C 0.113 H 330.2°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#4A0F47
RGBrgb(74, 15, 71)
HSLhsl(303, 66%, 17%)
HSVhsv(303, 80%, 29%)
CMYKcmyk(0%, 79.7%, 4.1%, 71%)
CIE-LABlab(16.76, 34.60, -20.36)
CIE-LCHlch(16.76, 40.15, 329.52°)
OKLaboklab(29.73% 0.0981 -0.0562)
OKLCHoklch(29.73% 0.113 330.2)
XYZxyz(4.1322, 2.2527, 6.1772)
Luminance0.0225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F47 #0F4A12
analogous
#300F4A #4A0F47 #4A0F29
triadic
#4A0F47 #474A0F #0F474A
tetradic
#4A0F47 #4A300F #0F4A12 #0F294A
square
#4A0F47 #4A300F #0F4A12 #0F294A
split-complementary
#4A0F47 #294A0F #0F4A30
monochromatic
#190518 #190518 #4A0F47 #7D1978 #B024A9

Accessibility & contrast

On white

14.48
#4A0F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4A0F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0F47
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F47#FFFFFF#000000##FFFFFF
##4A0F471.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082449
Deuteranopia (green-blind)
#212C46
Tritanopia (blue-blind)
#4D172A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a0f47;
/* rgb */ color: rgb(74, 15, 71);
/* oklch */ color: oklch(29.7% 0.113 330.2);
Tailwind
colors: {
  custom: {
    50: '#7f547a',
    500: '#4a0f47',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f47;
$custom-light: #7f547a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f47",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 303.051,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29732,
    "c": 0.11302,
    "h": 330.2
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#4A0F47
secondary
#308435
accent
#E9473F
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0F47

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

Preview Lab → · Contrast checker → · Palette generator →

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