#4B0845#4B0845

#4B0845 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.2% C 0.120 H 332.4°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#4B0845
RGBrgb(75, 8, 69)
HSLhsl(305, 81%, 16%)
HSVhsv(305, 89%, 29%)
CMYKcmyk(0%, 89.3%, 8%, 70.6%)
CIE-LABlab(16.00, 36.89, -20.17)
CIE-LCHlch(16.00, 42.04, 331.33°)
OKLaboklab(29.19% 0.1061 -0.0555)
OKLCHoklch(29.19% 0.12 332.4)
XYZxyz(4.0627, 2.0995, 5.8204)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0845 #084B0E
analogous
#30084B #4B0845 #4B0824
triadic
#4B0845 #454B08 #08454B
tetradic
#4B0845 #4B3008 #084B0E #08244B
square
#4B0845 #4B3008 #084B0E #08244B
split-complementary
#4B0845 #244B08 #084B30
monochromatic
#1C0319 #1C0319 #4B0845 #820E78 #BA14AB

Accessibility & contrast

On white

14.79
#4B0845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B0845
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0845#FFFFFF#000000##FFFFFF
##4B08451.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042247
Deuteranopia (green-blind)
#202B43
Tritanopia (blue-blind)
#4F1127
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4b0845;
/* rgb */ color: rgb(75, 8, 69);
/* oklch */ color: oklch(29.2% 0.120 332.4);
Tailwind
colors: {
  custom: {
    50: '#805279',
    500: '#4b0845',
    950: '#000000',
  },
}
SCSS
$custom: #4b0845;
$custom-light: #805279;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0845",
  "rgb": {
    "r": 75,
    "g": 8,
    "b": 69
  },
  "hsl": {
    "h": 305.373,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.29186,
    "c": 0.11979,
    "h": 332.4
  },
  "luminance": 0.02099
}

Semantic roles & 50–950 ramp

primary
#4B0845
secondary
#26892F
accent
#F74231
background
#F8F4F7
surface
#EFE7ED
border
#CAC3C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4B0845

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

Preview Lab → · Contrast checker → · Palette generator →

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