#4A0847#4A0847

#4A0847 is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.1% C 0.121 H 330.3°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#4A0847
RGBrgb(74, 8, 71)
HSLhsl(303, 80%, 16%)
HSVhsv(303, 89%, 29%)
CMYKcmyk(0%, 89.2%, 4.1%, 71%)
CIE-LABlab(15.93, 37.00, -21.69)
CIE-LCHlch(15.93, 42.89, 329.62°)
OKLaboklab(29.14% 0.105 -0.06)
OKLCHoklch(29.14% 0.121 330.3)
XYZxyz(4.0482, 2.0848, 6.1492)
Luminance0.0208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0847 #084A0B
analogous
#2C084A #4A0847 #4A0826
triadic
#4A0847 #474A08 #08474A
tetradic
#4A0847 #4A2C08 #084A0B #08264A
square
#4A0847 #4A2C08 #084A0B #08264A
split-complementary
#4A0847 #264A08 #084A2C
monochromatic
#1C031A #1C031A #4A0847 #810E7C #B814B1

Accessibility & contrast

On white

14.82
#4A0847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0847
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0847#FFFFFF#000000##FFFFFF
##4A08471.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002249
Deuteranopia (green-blind)
#1E2B45
Tritanopia (blue-blind)
#4D1228
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0847;
/* rgb */ color: rgb(74, 8, 71);
/* oklch */ color: oklch(29.1% 0.121 330.3);
Tailwind
colors: {
  custom: {
    50: '#7f527a',
    500: '#4a0847',
    950: '#000000',
  },
}
SCSS
$custom: #4a0847;
$custom-light: #7f527a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0847",
  "rgb": {
    "r": 74,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 302.727,
    "s": 80.488,
    "l": 16.078
  },
  "oklch": {
    "l": 0.29135,
    "c": 0.12089,
    "h": 330.3
  },
  "luminance": 0.02084
}

Semantic roles & 50–950 ramp

primary
#4A0847
secondary
#26882A
accent
#F73A31
background
#F8F4F7
surface
#EFE7ED
border
#CAC3C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0847

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

Preview Lab → · Contrast checker → · Palette generator →

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