#482A98#482A98

#482A98 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.168 H 288.7°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#482A98
RGBrgb(72, 42, 152)
HSLhsl(256, 57%, 38%)
HSVhsv(256, 72%, 60%)
CMYKcmyk(52.6%, 72.4%, 0%, 40.4%)
CIE-LABlab(27.57, 41.48, -55.36)
CIE-LCHlch(27.57, 69.17, 306.84°)
OKLaboklab(39.39% 0.0539 -0.159)
OKLCHoklch(39.39% 0.168 288.7)
XYZxyz(9.1663, 5.3002, 30.2397)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482A98 #7A982A
analogous
#2A4398 #482A98 #7F2A98
triadic
#482A98 #98482A #2A9848
tetradic
#482A98 #982A43 #7A982A #2A987F
square
#482A98 #982A43 #7A982A #2A987F
split-complementary
#482A98 #987F2A #43982A
monochromatic
#1B1038 #311D68 #482A98 #5F37C8 #8567D5

Accessibility & contrast

On white

10.19
#482A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#482A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482A98
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482A98#FFFFFF#000000##FFFFFF
##482A981.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#2A475E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #482a98;
/* rgb */ color: rgb(72, 42, 152);
/* oklch */ color: oklch(39.4% 0.168 288.7);
Tailwind
colors: {
  custom: {
    50: '#8366b7',
    500: '#482a98',
    950: '#000000',
  },
}
SCSS
$custom: #482a98;
$custom-light: #8366b7;
$custom-dark: #000000;
JSON
{
  "hex": "#482a98",
  "rgb": {
    "r": 72,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 256.364,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39389,
    "c": 0.16792,
    "h": 288.7
  },
  "luminance": 0.05301
}

Semantic roles & 50–950 ramp

primary
#482A98
secondary
#A3BB62
accent
#E048B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #482A98

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

Preview Lab → · Contrast checker → · Palette generator →

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