#481A71#481A71

#481A71 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.141 H 303.7°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#481A71
RGBrgb(72, 26, 113)
HSLhsl(272, 63%, 27%)
HSVhsv(272, 77%, 44%)
CMYKcmyk(36.3%, 77%, 0%, 55.7%)
CIE-LABlab(21.24, 38.81, -41.20)
CIE-LCHlch(21.24, 56.60, 313.29°)
OKLaboklab(33.84% 0.0783 -0.1173)
OKLCHoklch(33.84% 0.141 303.7)
XYZxyz(6.0218, 3.3088, 15.9410)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481A71 #43711A
analogous
#1C1A71 #481A71 #711A6F
triadic
#481A71 #71481A #1A7148
tetradic
#481A71 #711C1A #43711A #1A6F71
square
#481A71 #711C1A #43711A #1A6F71
split-complementary
#481A71 #6F711A #1A711C
monochromatic
#100619 #280F3F #481A71 #6825A3 #8735D0

Accessibility & contrast

On white

12.64
#481A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#481A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481A71
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481A71#FFFFFF#000000##FFFFFF
##481A711.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#402F44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #481a71;
/* rgb */ color: rgb(72, 26, 113);
/* oklch */ color: oklch(33.8% 0.141 303.7);
Tailwind
colors: {
  custom: {
    50: '#7f5b9a',
    500: '#481a71',
    950: '#000000',
  },
}
SCSS
$custom: #481a71;
$custom-light: #7f5b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#481a71",
  "rgb": {
    "r": 72,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 271.724,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33843,
    "c": 0.14105,
    "h": 303.7
  },
  "luminance": 0.03309
}

Semantic roles & 50–950 ramp

primary
#481A71
secondary
#70A641
accent
#E6428F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481A71

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

Preview Lab → · Contrast checker → · Palette generator →

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