#482172#482172

#482172 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.133 H 301.9°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#482172
RGBrgb(72, 33, 114)
HSLhsl(269, 55%, 29%)
HSVhsv(269, 71%, 45%)
CMYKcmyk(36.8%, 71.1%, 0%, 55.3%)
CIE-LABlab(22.59, 35.53, -39.66)
CIE-LCHlch(22.59, 53.25, 311.85°)
OKLaboklab(34.83% 0.0703 -0.1129)
OKLCHoklch(34.83% 0.133 301.9)
XYZxyz(6.2529, 3.6803, 16.2973)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482172 #4B7221
analogous
#212372 #482172 #712172
triadic
#482172 #724821 #217248
tetradic
#482172 #722123 #4B7221 #217271
square
#482172 #722123 #4B7221 #217271
split-complementary
#482172 #727121 #237221
monochromatic
#0F0718 #2A1343 #482172 #662FA1 #8444C9

Accessibility & contrast

On white

12.10
#482172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#482172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482172
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482172#FFFFFF#000000##FFFFFF
##4821721.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#3F3446
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #482172;
/* rgb */ color: rgb(72, 33, 114);
/* oklch */ color: oklch(34.8% 0.133 301.9);
Tailwind
colors: {
  custom: {
    50: '#7f5f9b',
    500: '#482172',
    950: '#000000',
  },
}
SCSS
$custom: #482172;
$custom-light: #7f5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#482172",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 268.889,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34825,
    "c": 0.13297,
    "h": 301.9
  },
  "luminance": 0.0368
}

Semantic roles & 50–950 ramp

primary
#482172
secondary
#79A549
accent
#DE4997
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #482172

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

Preview Lab → · Contrast checker → · Palette generator →

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