#482182#482182

#482182 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.152 H 296.3°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#482182
RGBrgb(72, 33, 130)
HSLhsl(264, 60%, 32%)
HSVhsv(264, 75%, 51%)
CMYKcmyk(44.6%, 74.6%, 0%, 49%)
CIE-LABlab(23.92, 39.91, -47.66)
CIE-LCHlch(23.92, 62.17, 309.94°)
OKLaboklab(36.2% 0.0673 -0.1364)
OKLCHoklch(36.2% 0.152 296.3)
XYZxyz(7.2445, 4.0770, 21.5200)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482182 #5B8221
analogous
#212A82 #482182 #792182
triadic
#482182 #824821 #218248
tetradic
#482182 #82212A #5B8221 #218279
square
#482182 #82212A #5B8221 #218279
split-complementary
#482182 #827921 #2A8221
monochromatic
#120820 #2D1551 #482182 #632DB3 #824CD2

Accessibility & contrast

On white

11.57
#482182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#482182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482182
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482182#FFFFFF#000000##FFFFFF
##4821821.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003880
Tritanopia (blue-blind)
#393A4F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #482182;
/* rgb */ color: rgb(72, 33, 130);
/* oklch */ color: oklch(36.2% 0.152 296.3);
Tailwind
colors: {
  custom: {
    50: '#8160a7',
    500: '#482182',
    950: '#000000',
  },
}
SCSS
$custom: #482182;
$custom-light: #8160a7;
$custom-dark: #000000;
JSON
{
  "hex": "#482182",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 264.124,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36197,
    "c": 0.15209,
    "h": 296.3
  },
  "luminance": 0.04077
}

Semantic roles & 50–950 ramp

primary
#482182
secondary
#8AB44A
accent
#E345A3
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #482182

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

Preview Lab → · Contrast checker → · Palette generator →

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