#482173#482173

#482173 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.134 H 301.5°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#482173
RGBrgb(72, 33, 115)
HSLhsl(269, 55%, 29%)
HSVhsv(269, 71%, 45%)
CMYKcmyk(37.4%, 71.3%, 0%, 54.9%)
CIE-LABlab(22.66, 35.80, -40.18)
CIE-LCHlch(22.66, 53.81, 311.70°)
OKLaboklab(34.91% 0.0702 -0.1144)
OKLCHoklch(34.91% 0.134 301.5)
XYZxyz(6.3101, 3.7032, 16.5987)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482173 #4C7321
analogous
#212373 #482173 #712173
triadic
#482173 #734821 #217348
tetradic
#482173 #732123 #4C7321 #217371
square
#482173 #732123 #4C7321 #217371
split-complementary
#482173 #737121 #237321
monochromatic
#0F0718 #2A1343 #482173 #662FA3 #8445CA

Accessibility & contrast

On white

12.06
#482173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #482173
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482173#FFFFFF#000000##FFFFFF
##4821731.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#3F3447
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #482173;
/* rgb */ color: rgb(72, 33, 115);
/* oklch */ color: oklch(34.9% 0.134 301.5);
Tailwind
colors: {
  custom: {
    50: '#7f5f9c',
    500: '#482173',
    950: '#000000',
  },
}
SCSS
$custom: #482173;
$custom-light: #7f5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#482173",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 268.537,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34907,
    "c": 0.13419,
    "h": 301.5
  },
  "luminance": 0.03703
}

Semantic roles & 50–950 ramp

primary
#482173
secondary
#7AA649
accent
#DF4998
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #482173

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

Preview Lab → · Contrast checker → · Palette generator →

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