#481C71#481C71

#481C71 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.139 H 303.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#481C71
RGBrgb(72, 28, 113)
HSLhsl(271, 60%, 28%)
HSVhsv(271, 75%, 44%)
CMYKcmyk(36.3%, 75.2%, 0%, 55.7%)
CIE-LABlab(21.58, 37.84, -40.65)
CIE-LCHlch(21.58, 55.54, 312.95°)
OKLaboklab(34.08% 0.0761 -0.1157)
OKLCHoklch(34.08% 0.139 303.3)
XYZxyz(6.0677, 3.4005, 15.9563)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481C71 #45711C
analogous
#1D1C71 #481C71 #711C6F
triadic
#481C71 #71481C #1C7148
tetradic
#481C71 #711D1C #45711C #1C6F71
square
#481C71 #711D1C #45711C #1C6F71
split-complementary
#481C71 #6F711C #1C711D
monochromatic
#100619 #291040 #481C71 #6728A2 #8639CE

Accessibility & contrast

On white

12.50
#481C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#481C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481C71
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481C71#FFFFFF#000000##FFFFFF
##481C711.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#403044
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #481c71;
/* rgb */ color: rgb(72, 28, 113);
/* oklch */ color: oklch(34.1% 0.139 303.3);
Tailwind
colors: {
  custom: {
    50: '#7f5d9a',
    500: '#481c71',
    950: '#000000',
  },
}
SCSS
$custom: #481c71;
$custom-light: #7f5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#481c71",
  "rgb": {
    "r": 72,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 271.059,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34084,
    "c": 0.13853,
    "h": 303.3
  },
  "luminance": 0.034
}

Semantic roles & 50–950 ramp

primary
#481C71
secondary
#73A643
accent
#E34491
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #481C71

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

Preview Lab → · Contrast checker → · Palette generator →

#481C71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva