#482282#482282

#482282 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.151 H 296.1°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#482282
RGBrgb(72, 34, 130)
HSLhsl(264, 59%, 32%)
HSVhsv(264, 74%, 51%)
CMYKcmyk(44.6%, 73.8%, 0%, 49%)
CIE-LABlab(24.11, 39.39, -47.37)
CIE-LCHlch(24.11, 61.61, 309.75°)
OKLaboklab(36.33% 0.0663 -0.1355)
OKLCHoklch(36.33% 0.151 296.1)
XYZxyz(7.2727, 4.1333, 21.5294)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482282 #5C8222
analogous
#222C82 #482282 #782282
triadic
#482282 #824822 #228248
tetradic
#482282 #82222C #5C8222 #228278
square
#482282 #82222C #5C8222 #228278
split-complementary
#482282 #827822 #2C8222
monochromatic
#120921 #2D1551 #482282 #632FB3 #824ED1

Accessibility & contrast

On white

11.50
#482282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#482282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482282
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482282#FFFFFF#000000##FFFFFF
##4822821.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003880
Tritanopia (blue-blind)
#383A50
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #482282;
/* rgb */ color: rgb(72, 34, 130);
/* oklch */ color: oklch(36.3% 0.151 296.1);
Tailwind
colors: {
  custom: {
    50: '#8161a7',
    500: '#482282',
    950: '#000000',
  },
}
SCSS
$custom: #482282;
$custom-light: #8161a7;
$custom-dark: #000000;
JSON
{
  "hex": "#482282",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 263.75,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36327,
    "c": 0.15087,
    "h": 296.1
  },
  "luminance": 0.04133
}

Semantic roles & 50–950 ramp

primary
#482282
secondary
#8BB44C
accent
#E246A4
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #482282

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

Preview Lab → · Contrast checker → · Palette generator →

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