#481971#481971

#481971 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.142 H 303.9°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#481971
RGBrgb(72, 25, 113)
HSLhsl(272, 64%, 27%)
HSVhsv(272, 78%, 44%)
CMYKcmyk(36.3%, 77.9%, 0%, 55.7%)
CIE-LABlab(21.08, 39.28, -41.47)
CIE-LCHlch(21.08, 57.12, 313.44°)
OKLaboklab(33.73% 0.0793 -0.1181)
OKLCHoklch(33.73% 0.142 303.9)
XYZxyz(6.0001, 3.2652, 15.9337)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481971 #427119
analogous
#1C1971 #481971 #71196E
triadic
#481971 #714819 #197148
tetradic
#481971 #711C19 #427119 #196E71
square
#481971 #711C19 #427119 #196E71
split-complementary
#481971 #6E7119 #19711C
monochromatic
#100619 #280E3F #481971 #6824A3 #8833D2

Accessibility & contrast

On white

12.70
#481971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#481971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481971
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481971#FFFFFF#000000##FFFFFF
##4819711.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.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: #481971;
/* rgb */ color: rgb(72, 25, 113);
/* oklch */ color: oklch(33.7% 0.142 303.9);
Tailwind
colors: {
  custom: {
    50: '#7f5b9a',
    500: '#481971',
    950: '#000000',
  },
}
SCSS
$custom: #481971;
$custom-light: #7f5b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#481971",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 272.045,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33727,
    "c": 0.14225,
    "h": 303.9
  },
  "luminance": 0.03265
}

Semantic roles & 50–950 ramp

primary
#481971
secondary
#6FA640
accent
#E7418E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481971

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

Preview Lab → · Contrast checker → · Palette generator →

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