#482072#482072

#482072 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.134 H 302.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#482072
RGBrgb(72, 32, 114)
HSLhsl(269, 56%, 29%)
HSVhsv(269, 72%, 45%)
CMYKcmyk(36.8%, 71.9%, 0%, 55.3%)
CIE-LABlab(22.39, 36.06, -39.98)
CIE-LCHlch(22.39, 53.84, 312.05°)
OKLaboklab(34.69% 0.0715 -0.1138)
OKLCHoklch(34.69% 0.134 302.1)
XYZxyz(6.2255, 3.6256, 16.2882)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482072 #4A7220
analogous
#202172 #482072 #712072
triadic
#482072 #724820 #207248
tetradic
#482072 #722021 #4A7220 #207271
square
#482072 #722021 #4A7220 #207271
split-complementary
#482072 #727120 #217220
monochromatic
#0F0718 #2A1342 #482072 #662DA2 #8542CA

Accessibility & contrast

On white

12.17
#482072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#482072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482072
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482072#FFFFFF#000000##FFFFFF
##4820721.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #482072;
/* rgb */ color: rgb(72, 32, 114);
/* oklch */ color: oklch(34.7% 0.134 302.1);
Tailwind
colors: {
  custom: {
    50: '#7f5f9b',
    500: '#482072',
    950: '#000000',
  },
}
SCSS
$custom: #482072;
$custom-light: #7f5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#482072",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 269.268,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34688,
    "c": 0.13437,
    "h": 302.1
  },
  "luminance": 0.03626
}

Semantic roles & 50–950 ramp

primary
#482072
secondary
#78A648
accent
#DF4896
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #482072

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

Preview Lab → · Contrast checker → · Palette generator →

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