#4B1C8C#4B1C8C

#4B1C8C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.169 H 295.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#4B1C8C
RGBrgb(75, 28, 140)
HSLhsl(265, 67%, 33%)
HSVhsv(265, 80%, 55%)
CMYKcmyk(46.4%, 80%, 0%, 45.1%)
CIE-LABlab(24.38, 45.50, -53.16)
CIE-LCHlch(24.38, 69.97, 310.56°)
OKLaboklab(36.89% 0.0738 -0.1524)
OKLCHoklch(36.89% 0.169 295.9)
XYZxyz(8.0493, 4.2196, 25.1962)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1C8C #5D8C1C
analogous
#1C258C #4B1C8C #831C8C
triadic
#4B1C8C #8C4B1C #1C8C4B
tetradic
#4B1C8C #8C1C25 #5D8C1C #1C8C83
square
#4B1C8C #8C1C25 #5D8C1C #1C8C83
split-complementary
#4B1C8C #8C831C #258C1C
monochromatic
#140826 #301259 #4B1C8C #6626BF #8548DA

Accessibility & contrast

On white

11.39
#4B1C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4B1C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1C8C
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1C8C#FFFFFF#000000##FFFFFF
##4B1C8C1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#393B54
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b1c8c;
/* rgb */ color: rgb(75, 28, 140);
/* oklch */ color: oklch(36.9% 0.169 295.9);
Tailwind
colors: {
  custom: {
    50: '#845eaf',
    500: '#4b1c8c',
    950: '#000000',
  },
}
SCSS
$custom: #4b1c8c;
$custom-light: #845eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1c8c",
  "rgb": {
    "r": 75,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 265.179,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36886,
    "c": 0.16931,
    "h": 295.9
  },
  "luminance": 0.0422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B1C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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