#482A96#482A96

#482A96 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.165 H 289.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#482A96
RGBrgb(72, 42, 150)
HSLhsl(257, 56%, 38%)
HSVhsv(257, 72%, 59%)
CMYKcmyk(52%, 72%, 0%, 41.2%)
CIE-LABlab(27.39, 40.88, -54.43)
CIE-LCHlch(27.39, 68.07, 306.91°)
OKLaboklab(39.21% 0.0543 -0.1563)
OKLCHoklch(39.21% 0.165 289.2)
XYZxyz(9.0039, 5.2353, 29.3843)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482A96 #78962A
analogous
#2A4296 #482A96 #7E2A96
triadic
#482A96 #96482A #2A9648
tetradic
#482A96 #962A42 #78962A #2A967E
square
#482A96 #962A42 #78962A #2A967E
split-complementary
#482A96 #967E2A #42962A
monochromatic
#1A0F36 #311D66 #482A96 #5F37C6 #8566D4

Accessibility & contrast

On white

10.26
#482A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#482A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482A96
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482A96#FFFFFF#000000##FFFFFF
##482A961.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#2C465D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #482a96;
/* rgb */ color: rgb(72, 42, 150);
/* oklch */ color: oklch(39.2% 0.165 289.2);
Tailwind
colors: {
  custom: {
    50: '#8366b6',
    500: '#482a96',
    950: '#000000',
  },
}
SCSS
$custom: #482a96;
$custom-light: #8366b6;
$custom-dark: #000000;
JSON
{
  "hex": "#482a96",
  "rgb": {
    "r": 72,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 256.667,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39207,
    "c": 0.16546,
    "h": 289.2
  },
  "luminance": 0.05236
}

Semantic roles & 50–950 ramp

primary
#482A96
secondary
#A2BA61
accent
#E048B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #482A96

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

Preview Lab → · Contrast checker → · Palette generator →

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