#4B1148#4B1148

#4B1148 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.2% C 0.112 H 330.1°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#4B1148
RGBrgb(75, 17, 72)
HSLhsl(303, 63%, 18%)
HSVhsv(303, 77%, 29%)
CMYKcmyk(0%, 77.3%, 4%, 70.6%)
CIE-LABlab(17.30, 34.25, -20.20)
CIE-LCHlch(17.30, 39.76, 329.47°)
OKLaboklab(30.17% 0.097 -0.0557)
OKLCHoklch(30.17% 0.112 330.1)
XYZxyz(4.2718, 2.3650, 6.3611)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1148 #114B14
analogous
#31114B #4B1148 #4B112B
triadic
#4B1148 #484B11 #11484B
tetradic
#4B1148 #4B3111 #114B14 #112B4B
square
#4B1148 #4B3111 #114B14 #112B4B
split-complementary
#4B1148 #2B4B11 #114B31
monochromatic
#190618 #190618 #4B1148 #7D1C78 #AF28A8

Accessibility & contrast

On white

14.26
#4B1148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1148
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1148#FFFFFF#000000##FFFFFF
##4B11481.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B254A
Deuteranopia (green-blind)
#222D47
Tritanopia (blue-blind)
#4E182B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4b1148;
/* rgb */ color: rgb(75, 17, 72);
/* oklch */ color: oklch(30.2% 0.112 330.1);
Tailwind
colors: {
  custom: {
    50: '#80557b',
    500: '#4b1148',
    950: '#000000',
  },
}
SCSS
$custom: #4b1148;
$custom-light: #80557b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1148",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 303.103,
    "s": 63.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30173,
    "c": 0.11188,
    "h": 330.1
  },
  "luminance": 0.02365
}

Semantic roles & 50–950 ramp

primary
#4B1148
secondary
#338438
accent
#E64A42
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4B1148

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

Preview Lab → · Contrast checker → · Palette generator →

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