#4B1145#4B1145

#4B1145 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.0% C 0.109 H 332.4°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#4B1145
RGBrgb(75, 17, 69)
HSLhsl(306, 63%, 18%)
HSVhsv(306, 77%, 29%)
CMYKcmyk(0%, 77.3%, 8%, 70.6%)
CIE-LABlab(17.12, 33.69, -18.41)
CIE-LCHlch(17.12, 38.39, 331.35°)
OKLaboklab(29.99% 0.0968 -0.0505)
OKLCHoklch(29.99% 0.109 332.4)
XYZxyz(4.1763, 2.3268, 5.8582)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1145 #114B17
analogous
#34114B #4B1145 #4B1128
triadic
#4B1145 #454B11 #11454B
tetradic
#4B1145 #4B3411 #114B17 #11284B
square
#4B1145 #4B3411 #114B17 #11284B
split-complementary
#4B1145 #284B11 #114B34
monochromatic
#190617 #190617 #4B1145 #7D1C73 #AF28A1

Accessibility & contrast

On white

14.33
#4B1145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4B1145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1145
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1145#FFFFFF#000000##FFFFFF
##4B11451.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2546
Deuteranopia (green-blind)
#232D44
Tritanopia (blue-blind)
#4F1729
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4b1145;
/* rgb */ color: rgb(75, 17, 69);
/* oklch */ color: oklch(30.0% 0.109 332.4);
Tailwind
colors: {
  custom: {
    50: '#805579',
    500: '#4b1145',
    950: '#000000',
  },
}
SCSS
$custom: #4b1145;
$custom-light: #805579;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1145",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 306.207,
    "s": 63.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29985,
    "c": 0.10923,
    "h": 332.4
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

primary
#4B1145
secondary
#33843C
accent
#E65342
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4B1145

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

Preview Lab → · Contrast checker → · Palette generator →

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