#482A87#482A87

#482A87 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.147 H 292.9°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#482A87
RGBrgb(72, 42, 135)
HSLhsl(259, 53%, 35%)
HSVhsv(259, 69%, 53%)
CMYKcmyk(46.7%, 68.9%, 0%, 47.1%)
CIE-LABlab(26.11, 36.46, -47.24)
CIE-LCHlch(26.11, 59.68, 307.66°)
OKLaboklab(37.89% 0.057 -0.1352)
OKLCHoklch(37.89% 0.147 292.9)
XYZxyz(7.8724, 4.7827, 23.4253)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482A87 #69872A
analogous
#2A3B87 #482A87 #772A87
triadic
#482A87 #87482A #2A8748
tetradic
#482A87 #872A3B #69872A #2A8777
square
#482A87 #872A3B #69872A #2A8777
split-complementary
#482A87 #87772A #3B872A
monochromatic
#160D2A #2F1B58 #482A87 #6139B6 #825ECD

Accessibility & contrast

On white

10.73
#482A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#482A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482A87
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482A87#FFFFFF#000000##FFFFFF
##482A871.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#364155
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #482a87;
/* rgb */ color: rgb(72, 42, 135);
/* oklch */ color: oklch(37.9% 0.147 292.9);
Tailwind
colors: {
  custom: {
    50: '#8166ab',
    500: '#482a87',
    950: '#000000',
  },
}
SCSS
$custom: #482a87;
$custom-light: #8166ab;
$custom-dark: #000000;
JSON
{
  "hex": "#482a87",
  "rgb": {
    "r": 72,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 259.355,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37886,
    "c": 0.14671,
    "h": 292.9
  },
  "luminance": 0.04783
}

Semantic roles & 50–950 ramp

primary
#482A87
secondary
#96B35A
accent
#DC4CAD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #482A87

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

Preview Lab → · Contrast checker → · Palette generator →

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