#481C72#481C72

#481C72 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.140 H 302.9°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#481C72
RGBrgb(72, 28, 114)
HSLhsl(271, 61%, 28%)
HSVhsv(271, 75%, 45%)
CMYKcmyk(36.8%, 75.4%, 0%, 55.3%)
CIE-LABlab(21.66, 38.10, -41.16)
CIE-LCHlch(21.66, 56.09, 312.79°)
OKLaboklab(34.17% 0.0759 -0.1172)
OKLCHoklch(34.17% 0.14 302.9)
XYZxyz(6.1243, 3.4231, 16.2544)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481C72 #46721C
analogous
#1D1C72 #481C72 #721C71
triadic
#481C72 #72481C #1C7248
tetradic
#481C72 #721D1C #46721C #1C7172
square
#481C72 #721D1C #46721C #1C7172
split-complementary
#481C72 #71721C #1C721D
monochromatic
#100619 #291041 #481C72 #6728A3 #863ACF

Accessibility & contrast

On white

12.47
#481C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481C72
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481C72#FFFFFF#000000##FFFFFF
##481C721.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#3F3145
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #481c72;
/* rgb */ color: rgb(72, 28, 114);
/* oklch */ color: oklch(34.2% 0.140 302.9);
Tailwind
colors: {
  custom: {
    50: '#7f5d9b',
    500: '#481c72',
    950: '#000000',
  },
}
SCSS
$custom: #481c72;
$custom-light: #7f5d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#481c72",
  "rgb": {
    "r": 72,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 270.698,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34169,
    "c": 0.13968,
    "h": 302.9
  },
  "luminance": 0.03423
}

Semantic roles & 50–950 ramp

primary
#481C72
secondary
#74A643
accent
#E44492
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #481C72

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

Preview Lab → · Contrast checker → · Palette generator →

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