#481271#481271

#481271 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.150 H 304.9°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#481271
RGBrgb(72, 18, 113)
HSLhsl(274, 73%, 26%)
HSVhsv(274, 84%, 44%)
CMYKcmyk(36.3%, 84.1%, 0%, 55.7%)
CIE-LABlab(20.05, 42.22, -43.13)
CIE-LCHlch(20.05, 60.36, 314.38°)
OKLaboklab(33.01% 0.0857 -0.123)
OKLCHoklch(33.01% 0.15 304.9)
XYZxyz(5.8687, 3.0026, 15.8900)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481271 #3B7112
analogous
#181271 #481271 #71126A
triadic
#481271 #714812 #127148
tetradic
#481271 #711812 #3B7112 #126A71
square
#481271 #711812 #3B7112 #126A71
split-complementary
#481271 #6A7112 #127118
monochromatic
#11041A #260A3C #481271 #6A1AA6 #8B23DB

Accessibility & contrast

On white

13.12
#481271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#481271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481271
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481271#FFFFFF#000000##FFFFFF
##4812711.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#402C42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #481271;
/* rgb */ color: rgb(72, 18, 113);
/* oklch */ color: oklch(33.0% 0.150 304.9);
Tailwind
colors: {
  custom: {
    50: '#80589b',
    500: '#481271',
    950: '#000000',
  },
}
SCSS
$custom: #481271;
$custom-light: #80589b;
$custom-dark: #000000;
JSON
{
  "hex": "#481271",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 113
  },
  "hsl": {
    "h": 274.105,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33011,
    "c": 0.14986,
    "h": 304.9
  },
  "luminance": 0.03003
}

Semantic roles & 50–950 ramp

primary
#481271
secondary
#68A837
accent
#EF3987
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481271

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

Preview Lab → · Contrast checker → · Palette generator →

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