#481972#481972

#481972 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.143 H 303.5°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#481972
RGBrgb(72, 25, 114)
HSLhsl(272, 64%, 27%)
HSVhsv(272, 78%, 45%)
CMYKcmyk(36.8%, 78.1%, 0%, 55.3%)
CIE-LABlab(21.16, 39.53, -41.98)
CIE-LCHlch(21.16, 57.66, 313.28°)
OKLaboklab(33.81% 0.079 -0.1196)
OKLCHoklch(33.81% 0.143 303.5)
XYZxyz(6.0567, 3.2879, 16.2319)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481972 #437219
analogous
#1B1972 #481972 #721970
triadic
#481972 #724819 #197248
tetradic
#481972 #721B19 #437219 #197072
square
#481972 #721B19 #437219 #197072
split-complementary
#481972 #707219 #19721B
monochromatic
#100619 #280E40 #481972 #6824A4 #8733D2

Accessibility & contrast

On white

12.67
#481972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#481972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481972
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481972#FFFFFF#000000##FFFFFF
##4819721.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #481972;
/* rgb */ color: rgb(72, 25, 114);
/* oklch */ color: oklch(33.8% 0.143 303.5);
Tailwind
colors: {
  custom: {
    50: '#805b9b',
    500: '#481972',
    950: '#000000',
  },
}
SCSS
$custom: #481972;
$custom-light: #805b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#481972",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 271.685,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33814,
    "c": 0.14336,
    "h": 303.5
  },
  "luminance": 0.03288
}

Semantic roles & 50–950 ramp

primary
#481972
secondary
#70A740
accent
#E7418F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481972

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

Preview Lab → · Contrast checker → · Palette generator →

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