#4B0846#4B0846

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

Color values

HEX#4B0846
RGBrgb(75, 8, 70)
HSLhsl(304, 81%, 16%)
HSVhsv(304, 89%, 29%)
CMYKcmyk(0%, 89.3%, 6.7%, 70.6%)
CIE-LABlab(16.06, 37.06, -20.76)
CIE-LCHlch(16.06, 42.48, 330.74°)
OKLaboklab(29.25% 0.1062 -0.0572)
OKLCHoklch(29.25% 0.121 331.7)
XYZxyz(4.0940, 2.1121, 5.9852)
Luminance0.0211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0846 #084B0D
analogous
#2F084B #4B0846 #4B0825
triadic
#4B0846 #464B08 #08464B
tetradic
#4B0846 #4B2F08 #084B0D #08254B
square
#4B0846 #4B2F08 #084B0D #08254B
split-complementary
#4B0846 #254B08 #084B2F
monochromatic
#1C031A #1C031A #4B0846 #820E7A #BA14AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B0846#FFFFFF#000000##FFFFFF
##4B08461.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)
#022248
Deuteranopia (green-blind)
#1F2B44
Tritanopia (blue-blind)
#4F1127
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4b0846;
/* rgb */ color: rgb(75, 8, 70);
/* oklch */ color: oklch(29.3% 0.121 331.7);
Tailwind
colors: {
  custom: {
    50: '#80527a',
    500: '#4b0846',
    950: '#000000',
  },
}
SCSS
$custom: #4b0846;
$custom-light: #80527a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0846",
  "rgb": {
    "r": 75,
    "g": 8,
    "b": 70
  },
  "hsl": {
    "h": 304.478,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.29251,
    "c": 0.1206,
    "h": 331.7
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#4B0846
secondary
#26892D
accent
#F73F31
background
#F8F4F7
surface
#EFE7ED
border
#CAC3C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4B0846

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

Preview Lab → · Contrast checker → · Palette generator →

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