#481672#481672

#481672 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.147 H 303.9°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#481672
RGBrgb(72, 22, 114)
HSLhsl(273, 68%, 27%)
HSVhsv(273, 81%, 45%)
CMYKcmyk(36.8%, 80.7%, 0%, 55.3%)
CIE-LABlab(20.70, 40.86, -42.73)
CIE-LCHlch(20.70, 59.12, 313.72°)
OKLaboklab(33.49% 0.0819 -0.1218)
OKLCHoklch(33.49% 0.147 303.9)
XYZxyz(5.9960, 3.1665, 16.2116)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481672 #407216
analogous
#1A1672 #481672 #72166E
triadic
#481672 #724816 #167248
tetradic
#481672 #721A16 #407216 #166E72
square
#481672 #721A16 #407216 #166E72
split-complementary
#481672 #6E7216 #16721A
monochromatic
#10051A #280C3F #481672 #6820A5 #892CD6

Accessibility & contrast

On white

12.86
#481672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481672
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481672#FFFFFF#000000##FFFFFF
##4816721.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003175
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#402E44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #481672;
/* rgb */ color: rgb(72, 22, 114);
/* oklch */ color: oklch(33.5% 0.147 303.9);
Tailwind
colors: {
  custom: {
    50: '#805a9b',
    500: '#481672',
    950: '#000000',
  },
}
SCSS
$custom: #481672;
$custom-light: #805a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#481672",
  "rgb": {
    "r": 72,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 272.609,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33488,
    "c": 0.14679,
    "h": 303.9
  },
  "luminance": 0.03166
}

Semantic roles & 50–950 ramp

primary
#481672
secondary
#6DA83C
accent
#EB3D8C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481672

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

Preview Lab → · Contrast checker → · Palette generator →

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