#481671#481671

#481671 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.146 H 304.3°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#481671
RGBrgb(72, 22, 113)
HSLhsl(273, 67%, 26%)
HSVhsv(273, 81%, 44%)
CMYKcmyk(36.3%, 80.5%, 0%, 55.7%)
CIE-LABlab(20.61, 40.61, -42.23)
CIE-LCHlch(20.61, 58.58, 313.88°)
OKLaboklab(33.4% 0.0822 -0.1203)
OKLCHoklch(33.4% 0.146 304.3)
XYZxyz(5.9393, 3.1438, 15.9135)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481671 #3F7116
analogous
#1B1671 #481671 #71166D
triadic
#481671 #714816 #167148
tetradic
#481671 #711B16 #3F7116 #166D71
square
#481671 #711B16 #3F7116 #166D71
split-complementary
#481671 #6D7116 #16711B
monochromatic
#10051A #270C3E #481671 #6920A4 #892CD6

Accessibility & contrast

On white

12.89
#481671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#481671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481671
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481671#FFFFFF#000000##FFFFFF
##4816711.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#402D43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #481671;
/* rgb */ color: rgb(72, 22, 113);
/* oklch */ color: oklch(33.4% 0.146 304.3);
Tailwind
colors: {
  custom: {
    50: '#80599b',
    500: '#481671',
    950: '#000000',
  },
}
SCSS
$custom: #481671;
$custom-light: #80599b;
$custom-dark: #000000;
JSON
{
  "hex": "#481671",
  "rgb": {
    "r": 72,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 272.967,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.334,
    "c": 0.14571,
    "h": 304.3
  },
  "luminance": 0.03144
}

Semantic roles & 50–950 ramp

primary
#481671
secondary
#6CA73C
accent
#EA3E8B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481671

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

Preview Lab → · Contrast checker → · Palette generator →

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