#4A0846#4A0846

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

Color values

HEX#4A0846
RGBrgb(74, 8, 70)
HSLhsl(304, 80%, 16%)
HSVhsv(304, 89%, 29%)
CMYKcmyk(0%, 89.2%, 5.4%, 71%)
CIE-LABlab(15.86, 36.82, -21.10)
CIE-LCHlch(15.86, 42.44, 330.19°)
OKLaboklab(29.07% 0.105 -0.0582)
OKLCHoklch(29.07% 0.12 331)
XYZxyz(4.0164, 2.0720, 5.9816)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0846 #084A0C
analogous
#2D084A #4A0846 #4A0825
triadic
#4A0846 #464A08 #08464A
tetradic
#4A0846 #4A2D08 #084A0C #08254A
square
#4A0846 #4A2D08 #084A0C #08254A
split-complementary
#4A0846 #254A08 #084A2D
monochromatic
#1C031A #1C031A #4A0846 #810E7A #B814AE

Accessibility & contrast

On white

14.85
#4A0846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4A0846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0846
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0846#FFFFFF#000000##FFFFFF
##4A08461.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012248
Deuteranopia (green-blind)
#1E2B44
Tritanopia (blue-blind)
#4D1227
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a0846;
/* rgb */ color: rgb(74, 8, 70);
/* oklch */ color: oklch(29.1% 0.120 331.0);
Tailwind
colors: {
  custom: {
    50: '#7f527a',
    500: '#4a0846',
    950: '#000000',
  },
}
SCSS
$custom: #4a0846;
$custom-light: #7f527a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0846",
  "rgb": {
    "r": 74,
    "g": 8,
    "b": 70
  },
  "hsl": {
    "h": 303.636,
    "s": 80.488,
    "l": 16.078
  },
  "oklch": {
    "l": 0.29068,
    "c": 0.12007,
    "h": 331
  },
  "luminance": 0.02072
}

Semantic roles & 50–950 ramp

primary
#4A0846
secondary
#26882C
accent
#F73D31
background
#F8F4F7
surface
#EFE7ED
border
#CAC3C8
text
#0A0209
muted
#7C787B

Preview Lab

Preview with #4A0846

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

Preview Lab → · Contrast checker → · Palette generator →

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