#4B1C8D#4B1C8D

#4B1C8D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.170 H 295.6°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#4B1C8D
RGBrgb(75, 28, 141)
HSLhsl(265, 67%, 33%)
HSVhsv(265, 80%, 55%)
CMYKcmyk(46.8%, 80.1%, 0%, 44.7%)
CIE-LABlab(24.48, 45.77, -53.63)
CIE-LCHlch(24.48, 70.50, 310.48°)
OKLaboklab(36.98% 0.0735 -0.1537)
OKLCHoklch(36.98% 0.17 295.6)
XYZxyz(8.1233, 4.2492, 25.5863)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1C8D #5E8D1C
analogous
#1C258D #4B1C8D #831C8D
triadic
#4B1C8D #8D4B1C #1C8D4B
tetradic
#4B1C8D #8D1C25 #5E8D1C #1C8D83
square
#4B1C8D #8D1C25 #5E8D1C #1C8D83
split-complementary
#4B1C8D #8D831C #258D1C
monochromatic
#150827 #30125A #4B1C8D #6626C0 #8549DB

Accessibility & contrast

On white

11.35
#4B1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4B1C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1C8D
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1C8D#FFFFFF#000000##FFFFFF
##4B1C8D1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#383C54
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b1c8d;
/* rgb */ color: rgb(75, 28, 141);
/* oklch */ color: oklch(37.0% 0.170 295.6);
Tailwind
colors: {
  custom: {
    50: '#855eaf',
    500: '#4b1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #4b1c8d;
$custom-light: #855eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1c8d",
  "rgb": {
    "r": 75,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 264.956,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3698,
    "c": 0.17041,
    "h": 295.6
  },
  "luminance": 0.04249
}

Semantic roles & 50–950 ramp

primary
#4B1C8D
secondary
#8CBD48
accent
#EA3EA2
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4B1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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