#4A1471#4A1471

#4A1471 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.5% C 0.148 H 305.9°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#4A1471
RGBrgb(74, 20, 113)
HSLhsl(275, 70%, 26%)
HSVhsv(275, 82%, 44%)
CMYKcmyk(34.5%, 82.3%, 0%, 55.7%)
CIE-LABlab(20.63, 41.80, -42.18)
CIE-LCHlch(20.63, 59.39, 314.74°)
OKLaboklab(33.48% 0.0871 -0.1201)
OKLCHoklch(33.48% 0.148 305.9)
XYZxyz(6.0542, 3.1485, 15.9084)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1471 #3B7114
analogous
#1B1471 #4A1471 #711469
triadic
#4A1471 #714A14 #14714A
tetradic
#4A1471 #711B14 #3B7114 #146971
square
#4A1471 #711B14 #3B7114 #146971
split-complementary
#4A1471 #697114 #14711B
monochromatic
#11051A #280B3D #4A1471 #6C1DA5 #8E27D9

Accessibility & contrast

On white

12.89
#4A1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4A1471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1471
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1471#FFFFFF#000000##FFFFFF
##4A14711.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a1471;
/* rgb */ color: rgb(74, 20, 113);
/* oklch */ color: oklch(33.5% 0.148 305.9);
Tailwind
colors: {
  custom: {
    50: '#81599b',
    500: '#4a1471',
    950: '#000000',
  },
}
SCSS
$custom: #4a1471;
$custom-light: #81599b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1471",
  "rgb": {
    "r": 74,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 274.839,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33476,
    "c": 0.14834,
    "h": 305.9
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#4A1471
secondary
#68A739
accent
#ED3B86
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A1471

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

Preview Lab → · Contrast checker → · Palette generator →

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