#4B1845#4B1845

#4B1845 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 30.8% C 0.099 H 332.6°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#4B1845
RGBrgb(75, 24, 69)
HSLhsl(307, 52%, 19%)
HSVhsv(307, 68%, 29%)
CMYKcmyk(0%, 68%, 8%, 70.6%)
CIE-LABlab(18.27, 30.47, -16.59)
CIE-LCHlch(18.27, 34.69, 331.43°)
OKLaboklab(30.82% 0.0875 -0.0454)
OKLCHoklch(30.82% 0.099 332.6)
XYZxyz(4.3025, 2.5791, 5.9003)
Luminance0.0258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1845 #184B1E
analogous
#38184B #4B1845 #4B182C
triadic
#4B1845 #454B18 #18454B
tetradic
#4B1845 #4B3818 #184B1E #182C4B
square
#4B1845 #4B3818 #184B1E #182C4B
split-complementary
#4B1845 #2C4B18 #184B38
monochromatic
#170715 #1D091A #4B1845 #792770 #A8369A

Accessibility & contrast

On white

13.85
#4B1845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4B1845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1845
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1845#FFFFFF#000000##FFFFFF
##4B18451.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162846
Deuteranopia (green-blind)
#272F44
Tritanopia (blue-blind)
#4E1C2C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b1845;
/* rgb */ color: rgb(75, 24, 69);
/* oklch */ color: oklch(30.8% 0.099 332.6);
Tailwind
colors: {
  custom: {
    50: '#7f5979',
    500: '#4b1845',
    950: '#000000',
  },
}
SCSS
$custom: #4b1845;
$custom-light: #7f5979;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1845",
  "rgb": {
    "r": 75,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 307.059,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30824,
    "c": 0.09853,
    "h": 332.6
  },
  "luminance": 0.02579
}

Semantic roles & 50–950 ramp

primary
#4B1845
secondary
#3D8245
accent
#DB5E4D
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4B1845

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

Preview Lab → · Contrast checker → · Palette generator →

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