#4B1147#4B1147

#4B1147 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.1% C 0.111 H 330.9°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#4B1147
RGBrgb(75, 17, 71)
HSLhsl(304, 63%, 18%)
HSVhsv(304, 77%, 29%)
CMYKcmyk(0%, 77.3%, 5.3%, 70.6%)
CIE-LABlab(17.24, 34.06, -19.60)
CIE-LCHlch(17.24, 39.30, 330.08°)
OKLaboklab(30.11% 0.097 -0.054)
OKLCHoklch(30.11% 0.111 330.9)
XYZxyz(4.2394, 2.3520, 6.1907)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1147 #114B15
analogous
#32114B #4B1147 #4B112A
triadic
#4B1147 #474B11 #11474B
tetradic
#4B1147 #4B3211 #114B15 #112A4B
square
#4B1147 #4B3211 #114B15 #112A4B
split-complementary
#4B1147 #2A4B11 #114B32
monochromatic
#190618 #190618 #4B1147 #7D1C76 #AF28A5

Accessibility & contrast

On white

14.28
#4B1147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1147
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1147#FFFFFF#000000##FFFFFF
##4B11471.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2549
Deuteranopia (green-blind)
#222D46
Tritanopia (blue-blind)
#4E182A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4b1147;
/* rgb */ color: rgb(75, 17, 71);
/* oklch */ color: oklch(30.1% 0.111 330.9);
Tailwind
colors: {
  custom: {
    50: '#80557a',
    500: '#4b1147',
    950: '#000000',
  },
}
SCSS
$custom: #4b1147;
$custom-light: #80557a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1147",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 304.138,
    "s": 63.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3011,
    "c": 0.11099,
    "h": 330.9
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#4B1147
secondary
#338439
accent
#E64D42
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4B1147

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

Preview Lab → · Contrast checker → · Palette generator →

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