#4B1154#4B1154

#4B1154 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.0% C 0.123 H 321.9°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#4B1154
RGBrgb(75, 17, 84)
HSLhsl(292, 66%, 20%)
HSVhsv(292, 80%, 33%)
CMYKcmyk(10.7%, 79.8%, 0%, 67.1%)
CIE-LABlab(18.09, 36.63, -27.14)
CIE-LCHlch(18.09, 45.59, 323.47°)
OKLaboklab(30.99% 0.0968 -0.0759)
OKLCHoklch(30.99% 0.123 321.9)
XYZxyz(4.7022, 2.5371, 8.6278)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1154 #1A5411
analogous
#291154 #4B1154 #54113C
triadic
#4B1154 #544B11 #11544B
tetradic
#4B1154 #542911 #1A5411 #113C54
square
#4B1154 #542911 #1A5411 #113C54
split-complementary
#4B1154 #3C5411 #115429
monochromatic
#170519 #1E0721 #4B1154 #781B87 #A626BA

Accessibility & contrast

On white

13.93
#4B1154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1154
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1154#FFFFFF#000000##FFFFFF
##4B11541.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002856
Deuteranopia (green-blind)
#1A2E52
Tritanopia (blue-blind)
#4C1E31
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4b1154;
/* rgb */ color: rgb(75, 17, 84);
/* oklch */ color: oklch(31.0% 0.123 321.9);
Tailwind
colors: {
  custom: {
    50: '#805684',
    500: '#4b1154',
    950: '#000000',
  },
}
SCSS
$custom: #4b1154;
$custom-light: #805684;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1154",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 291.94,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30992,
    "c": 0.12303,
    "h": 321.9
  },
  "luminance": 0.02537
}

Semantic roles & 50–950 ramp

primary
#4B1154
secondary
#408D34
accent
#E93F55
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4B1154

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

Preview Lab → · Contrast checker → · Palette generator →

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