#481171#481171

#481171 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.151 H 305.0°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#481171
RGBrgb(72, 17, 113)
HSLhsl(274, 74%, 25%)
HSVhsv(274, 85%, 44%)
CMYKcmyk(36.3%, 85%, 0%, 55.7%)
CIE-LABlab(19.93, 42.59, -43.34)
CIE-LCHlch(19.93, 60.76, 314.50°)
OKLaboklab(32.92% 0.0865 -0.1236)
OKLCHoklch(32.92% 0.151 305)
XYZxyz(5.8529, 2.9709, 15.8847)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481171 #3A7111
analogous
#181171 #481171 #71116A
triadic
#481171 #714811 #117148
tetradic
#481171 #711811 #3A7111 #116A71
square
#481171 #711811 #3A7111 #116A71
split-complementary
#481171 #6A7111 #117118
monochromatic
#11041B #26093C #481171 #6A19A6 #8C21DB

Accessibility & contrast

On white

13.17
#481171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#481171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481171
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481171#FFFFFF#000000##FFFFFF
##4811711.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#402B42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #481171;
/* rgb */ color: rgb(72, 17, 113);
/* oklch */ color: oklch(32.9% 0.151 305.0);
Tailwind
colors: {
  custom: {
    50: '#80579b',
    500: '#481171',
    950: '#000000',
  },
}
SCSS
$custom: #481171;
$custom-light: #80579b;
$custom-dark: #000000;
JSON
{
  "hex": "#481171",
  "rgb": {
    "r": 72,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 274.375,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32922,
    "c": 0.15083,
    "h": 305
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#481171
secondary
#67A836
accent
#F13786
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #481171

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

Preview Lab → · Contrast checker → · Palette generator →

#481171 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva