#4B0847#4B0847

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

Color values

HEX#4B0847
RGBrgb(75, 8, 71)
HSLhsl(304, 81%, 16%)
HSVhsv(304, 89%, 29%)
CMYKcmyk(0%, 89.3%, 5.3%, 70.6%)
CIE-LABlab(16.13, 37.24, -21.35)
CIE-LCHlch(16.13, 42.92, 330.17°)
OKLaboklab(29.32% 0.1061 -0.059)
OKLCHoklch(29.32% 0.121 330.9)
XYZxyz(4.1258, 2.1248, 6.1528)
Luminance0.0212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0847 #084B0C
analogous
#2E084B #4B0847 #4B0826
triadic
#4B0847 #474B08 #08474B
tetradic
#4B0847 #4B2E08 #084B0C #08264B
square
#4B0847 #4B2E08 #084B0C #08264B
split-complementary
#4B0847 #264B08 #084B2E
monochromatic
#1C031A #1C031A #4B0847 #820E7B #BA14B0

Accessibility & contrast

On white

14.74
#4B0847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B0847
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0847#FFFFFF#000000##FFFFFF
##4B08471.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012249
Deuteranopia (green-blind)
#1F2B45
Tritanopia (blue-blind)
#4E1228
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4b0847;
/* rgb */ color: rgb(75, 8, 71);
/* oklch */ color: oklch(29.3% 0.121 330.9);
Tailwind
colors: {
  custom: {
    50: '#80527a',
    500: '#4b0847',
    950: '#000000',
  },
}
SCSS
$custom: #4b0847;
$custom-light: #80527a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0847",
  "rgb": {
    "r": 75,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 303.582,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.29318,
    "c": 0.12142,
    "h": 330.9
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#4B0847
secondary
#26892C
accent
#F73D31
background
#F8F4F7
surface
#EFE7ED
border
#CAC3C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4B0847

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

Preview Lab → · Contrast checker → · Palette generator →

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