#481A72#481A72

#481A72 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.142 H 303.3°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#481A72
RGBrgb(72, 26, 114)
HSLhsl(271, 63%, 27%)
HSVhsv(271, 77%, 45%)
CMYKcmyk(36.8%, 77.2%, 0%, 55.3%)
CIE-LABlab(21.32, 39.07, -41.71)
CIE-LCHlch(21.32, 57.15, 313.13°)
OKLaboklab(33.93% 0.078 -0.1188)
OKLCHoklch(33.93% 0.142 303.3)
XYZxyz(6.0784, 3.3314, 16.2391)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481A72 #44721A
analogous
#1C1A72 #481A72 #721A70
triadic
#481A72 #72481A #1A7248
tetradic
#481A72 #721C1A #44721A #1A7072
square
#481A72 #721C1A #44721A #1A7072
split-complementary
#481A72 #70721A #1A721C
monochromatic
#100619 #290F40 #481A72 #6725A4 #8735D1

Accessibility & contrast

On white

12.60
#481A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#481A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481A72
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481A72#FFFFFF#000000##FFFFFF
##481A721.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#403044
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #481a72;
/* rgb */ color: rgb(72, 26, 114);
/* oklch */ color: oklch(33.9% 0.142 303.3);
Tailwind
colors: {
  custom: {
    50: '#7f5c9b',
    500: '#481a72',
    950: '#000000',
  },
}
SCSS
$custom: #481a72;
$custom-light: #7f5c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#481a72",
  "rgb": {
    "r": 72,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 271.364,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33929,
    "c": 0.14217,
    "h": 303.3
  },
  "luminance": 0.03331
}

Semantic roles & 50–950 ramp

primary
#481A72
secondary
#72A741
accent
#E64290
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481A72

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

Preview Lab → · Contrast checker → · Palette generator →

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