#4B1155#4B1155

#4B1155 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.1% C 0.124 H 321.3°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#4B1155
RGBrgb(75, 17, 85)
HSLhsl(291, 67%, 20%)
HSVhsv(291, 80%, 33%)
CMYKcmyk(11.8%, 80%, 0%, 66.7%)
CIE-LABlab(18.16, 36.84, -27.70)
CIE-LCHlch(18.16, 46.09, 323.06°)
OKLaboklab(31.07% 0.0968 -0.0775)
OKLCHoklch(31.07% 0.124 321.3)
XYZxyz(4.7416, 2.5529, 8.8356)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1155 #1B5511
analogous
#291155 #4B1155 #55113D
triadic
#4B1155 #554B11 #11554B
tetradic
#4B1155 #552911 #1B5511 #113D55
square
#4B1155 #552911 #1B5511 #113D55
split-complementary
#4B1155 #3D5511 #115529
monochromatic
#16051A #1E0722 #4B1155 #781B88 #A525BB

Accessibility & contrast

On white

13.90
#4B1155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4B1155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1155
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1155#FFFFFF#000000##FFFFFF
##4B11551.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002857
Deuteranopia (green-blind)
#192E53
Tritanopia (blue-blind)
#4C1E32
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4b1155;
/* rgb */ color: rgb(75, 17, 85);
/* oklch */ color: oklch(31.1% 0.124 321.3);
Tailwind
colors: {
  custom: {
    50: '#805685',
    500: '#4b1155',
    950: '#000000',
  },
}
SCSS
$custom: #4b1155;
$custom-light: #805685;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1155",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 291.176,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.31065,
    "c": 0.12398,
    "h": 321.3
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#4B1155
secondary
#418E34
accent
#EA3E57
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4B1155

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

Preview Lab → · Contrast checker → · Palette generator →

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