#4B1471#4B1471

#4B1471 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.149 H 306.6°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#4B1471
RGBrgb(75, 20, 113)
HSLhsl(275, 70%, 26%)
HSVhsv(275, 82%, 44%)
CMYKcmyk(33.6%, 82.3%, 0%, 55.7%)
CIE-LABlab(20.78, 41.98, -41.93)
CIE-LCHlch(20.78, 59.33, 315.04°)
OKLaboklab(33.62% 0.0886 -0.1193)
OKLCHoklch(33.62% 0.149 306.6)
XYZxyz(6.1318, 3.1885, 15.9120)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1471 #3A7114
analogous
#1C1471 #4B1471 #711468
triadic
#4B1471 #714B14 #14714B
tetradic
#4B1471 #711C14 #3A7114 #146871
square
#4B1471 #711C14 #3A7114 #146871
split-complementary
#4B1471 #687114 #14711C
monochromatic
#11051A #280B3D #4B1471 #6E1DA5 #9027D9

Accessibility & contrast

On white

12.82
#4B1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4B1471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1471
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1471#FFFFFF#000000##FFFFFF
##4B14711.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#442C43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4b1471;
/* rgb */ color: rgb(75, 20, 113);
/* oklch */ color: oklch(33.6% 0.149 306.6);
Tailwind
colors: {
  custom: {
    50: '#82599b',
    500: '#4b1471',
    950: '#000000',
  },
}
SCSS
$custom: #4b1471;
$custom-light: #82599b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1471",
  "rgb": {
    "r": 75,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 275.484,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33617,
    "c": 0.14859,
    "h": 306.6
  },
  "luminance": 0.03188
}

Semantic roles & 50–950 ramp

primary
#4B1471
secondary
#66A739
accent
#ED3B84
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1471

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

Preview Lab → · Contrast checker → · Palette generator →

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