#4B1945#4B1945

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

Color values

HEX#4B1945
RGBrgb(75, 25, 69)
HSLhsl(307, 50%, 20%)
HSVhsv(307, 67%, 29%)
CMYKcmyk(0%, 66.7%, 8%, 70.6%)
CIE-LABlab(18.46, 29.96, -16.30)
CIE-LCHlch(18.46, 34.11, 331.45°)
OKLaboklab(30.96% 0.086 -0.0446)
OKLCHoklch(30.96% 0.097 332.6)
XYZxyz(4.3235, 2.6211, 5.9073)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1945 #194B1F
analogous
#38194B #4B1945 #4B192C
triadic
#4B1945 #454B19 #19454B
tetradic
#4B1945 #4B3819 #194B1F #192C4B
square
#4B1945 #4B3819 #194B1F #192C4B
split-complementary
#4B1945 #2C4B19 #194B38
monochromatic
#170815 #1D0A1B #4B1945 #79286F #A73899

Accessibility & contrast

On white

13.78
#4B1945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1945
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1945#FFFFFF#000000##FFFFFF
##4B19451.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172846
Deuteranopia (green-blind)
#273044
Tritanopia (blue-blind)
#4E1D2C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b1945;
/* rgb */ color: rgb(75, 25, 69);
/* oklch */ color: oklch(31.0% 0.097 332.6);
Tailwind
colors: {
  custom: {
    50: '#7f5979',
    500: '#4b1945',
    950: '#000000',
  },
}
SCSS
$custom: #4b1945;
$custom-light: #7f5979;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1945",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 69
  },
  "hsl": {
    "h": 307.2,
    "s": 50,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30959,
    "c": 0.09685,
    "h": 332.6
  },
  "luminance": 0.02621
}

Semantic roles & 50–950 ramp

primary
#4B1945
secondary
#3E8146
accent
#DA5F4E
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4B1945

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

Preview Lab → · Contrast checker → · Palette generator →

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