#482A8B#482A8B

#482A8B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.152 H 291.8°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#482A8B
RGBrgb(72, 42, 139)
HSLhsl(259, 54%, 35%)
HSVhsv(259, 70%, 55%)
CMYKcmyk(48.2%, 69.8%, 0%, 45.5%)
CIE-LABlab(26.44, 37.63, -49.19)
CIE-LCHlch(26.44, 61.94, 307.42°)
OKLaboklab(38.23% 0.0564 -0.1409)
OKLCHoklch(38.23% 0.152 291.8)
XYZxyz(8.1593, 4.8974, 24.9365)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482A8B #6D8B2A
analogous
#2A3C8B #482A8B #782A8B
triadic
#482A8B #8B482A #2A8B48
tetradic
#482A8B #8B2A3C #6D8B2A #2A8B78
square
#482A8B #8B2A3C #6D8B2A #2A8B78
split-complementary
#482A8B #8B782A #3C8B2A
monochromatic
#170E2D #301C5C #482A8B #6038BA #8360CF

Accessibility & contrast

On white

10.61
#482A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#482A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482A8B
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482A8B#FFFFFF#000000##FFFFFF
##482A8B1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#334257
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #482a8b;
/* rgb */ color: rgb(72, 42, 139);
/* oklch */ color: oklch(38.2% 0.152 291.8);
Tailwind
colors: {
  custom: {
    50: '#8166ae',
    500: '#482a8b',
    950: '#000000',
  },
}
SCSS
$custom: #482a8b;
$custom-light: #8166ae;
$custom-dark: #000000;
JSON
{
  "hex": "#482a8b",
  "rgb": {
    "r": 72,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 258.557,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3823,
    "c": 0.15177,
    "h": 291.8
  },
  "luminance": 0.04898
}

Semantic roles & 50–950 ramp

primary
#482A8B
secondary
#99B55C
accent
#DD4BB0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #482A8B

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

Preview Lab → · Contrast checker → · Palette generator →

#482A8B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva