#4B0848#4B0848

#4B0848 is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.4% C 0.122 H 330.2°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#4B0848
RGBrgb(75, 8, 72)
HSLhsl(303, 81%, 16%)
HSVhsv(303, 89%, 29%)
CMYKcmyk(0%, 89.3%, 4%, 70.6%)
CIE-LABlab(16.19, 37.41, -21.94)
CIE-LCHlch(16.19, 43.37, 329.61°)
OKLaboklab(29.39% 0.1061 -0.0607)
OKLCHoklch(29.39% 0.122 330.2)
XYZxyz(4.1582, 2.1377, 6.3233)
Luminance0.0214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0848 #084B0B
analogous
#2D084B #4B0848 #4B0827
triadic
#4B0848 #484B08 #08484B
tetradic
#4B0848 #4B2D08 #084B0B #08274B
square
#4B0848 #4B2D08 #084B0B #08274B
split-complementary
#4B0848 #274B08 #084B2D
monochromatic
#1C031B #1C031B #4B0848 #820E7D #BA14B2

Accessibility & contrast

On white

14.71
#4B0848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4B0848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0848
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0848#FFFFFF#000000##FFFFFF
##4B08481.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224A
Deuteranopia (green-blind)
#1E2B46
Tritanopia (blue-blind)
#4E1329
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4b0848;
/* rgb */ color: rgb(75, 8, 72);
/* oklch */ color: oklch(29.4% 0.122 330.2);
Tailwind
colors: {
  custom: {
    50: '#80527b',
    500: '#4b0848',
    950: '#000000',
  },
}
SCSS
$custom: #4b0848;
$custom-light: #80527b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0848",
  "rgb": {
    "r": 75,
    "g": 8,
    "b": 72
  },
  "hsl": {
    "h": 302.687,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.29385,
    "c": 0.12224,
    "h": 330.2
  },
  "luminance": 0.02137
}

Semantic roles & 50–950 ramp

primary
#4B0848
secondary
#26892A
accent
#F73A31
background
#F8F4F7
surface
#EFE7EE
border
#CAC3C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4B0848

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

Preview Lab → · Contrast checker → · Palette generator →

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