#4B1671#4B1671

#4B1671 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.146 H 306.3°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#4B1671
RGBrgb(75, 22, 113)
HSLhsl(275, 67%, 26%)
HSVhsv(275, 81%, 44%)
CMYKcmyk(33.6%, 80.5%, 0%, 55.7%)
CIE-LABlab(21.06, 41.17, -41.47)
CIE-LCHlch(21.06, 58.44, 314.80°)
OKLaboklab(33.81% 0.0868 -0.118)
OKLCHoklch(33.81% 0.146 306.3)
XYZxyz(6.1685, 3.2620, 15.9242)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1671 #3C7116
analogous
#1E1671 #4B1671 #71166A
triadic
#4B1671 #714B16 #16714B
tetradic
#4B1671 #711E16 #3C7116 #166A71
square
#4B1671 #711E16 #3C7116 #166A71
split-complementary
#4B1671 #6A7116 #16711E
monochromatic
#11051A #290C3E #4B1671 #6D20A4 #8F2CD6

Accessibility & contrast

On white

12.71
#4B1671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4B1671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1671
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1671#FFFFFF#000000##FFFFFF
##4B16711.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#442D43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4b1671;
/* rgb */ color: rgb(75, 22, 113);
/* oklch */ color: oklch(33.8% 0.146 306.3);
Tailwind
colors: {
  custom: {
    50: '#825a9b',
    500: '#4b1671',
    950: '#000000',
  },
}
SCSS
$custom: #4b1671;
$custom-light: #825a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1671",
  "rgb": {
    "r": 75,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 274.945,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33813,
    "c": 0.14645,
    "h": 306.3
  },
  "luminance": 0.03262
}

Semantic roles & 50–950 ramp

primary
#4B1671
secondary
#69A73C
accent
#EA3E86
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1671

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

Preview Lab → · Contrast checker → · Palette generator →

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