#481172#481172

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

Color values

HEX#481172
RGBrgb(72, 17, 114)
HSLhsl(274, 74%, 26%)
HSVhsv(274, 85%, 45%)
CMYKcmyk(36.8%, 85.1%, 0%, 55.3%)
CIE-LABlab(20.02, 42.83, -43.84)
CIE-LCHlch(20.02, 61.29, 314.33°)
OKLaboklab(33.01% 0.0862 -0.125)
OKLCHoklch(33.01% 0.152 304.6)
XYZxyz(5.9095, 2.9935, 16.1828)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481172 #3B7211
analogous
#181172 #481172 #72116B
triadic
#481172 #724811 #117248
tetradic
#481172 #721811 #3B7211 #116B72
square
#481172 #721811 #3B7211 #116B72
split-complementary
#481172 #6B7211 #117218
monochromatic
#11041B #26093D #481172 #6A19A7 #8B21DD

Accessibility & contrast

On white

13.13
#481172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481172
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481172#FFFFFF#000000##FFFFFF
##4811721.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#402C43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #481172;
/* rgb */ color: rgb(72, 17, 114);
/* oklch */ color: oklch(33.0% 0.152 304.6);
Tailwind
colors: {
  custom: {
    50: '#80579b',
    500: '#481172',
    950: '#000000',
  },
}
SCSS
$custom: #481172;
$custom-light: #80579b;
$custom-dark: #000000;
JSON
{
  "hex": "#481172",
  "rgb": {
    "r": 72,
    "g": 17,
    "b": 114
  },
  "hsl": {
    "h": 274.021,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33014,
    "c": 0.15184,
    "h": 304.6
  },
  "luminance": 0.02994
}

Semantic roles & 50–950 ramp

primary
#481172
secondary
#68A936
accent
#F13787
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481172

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

Preview Lab → · Contrast checker → · Palette generator →

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