#482C98#482C98

#482C98 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.166 H 288.3°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#482C98
RGBrgb(72, 44, 152)
HSLhsl(256, 55%, 38%)
HSVhsv(256, 71%, 60%)
CMYKcmyk(52.6%, 71.1%, 0%, 40.4%)
CIE-LABlab(27.97, 40.38, -54.72)
CIE-LCHlch(27.97, 68.00, 306.43°)
OKLaboklab(39.67% 0.0521 -0.1571)
OKLCHoklch(39.67% 0.166 288.3)
XYZxyz(9.2390, 5.4456, 30.2640)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482C98 #7C982C
analogous
#2C4698 #482C98 #7E2C98
triadic
#482C98 #98482C #2C9848
tetradic
#482C98 #982C46 #7C982C #2C987E
square
#482C98 #982C46 #7C982C #2C987E
split-complementary
#482C98 #987E2C #46982C
monochromatic
#1B1139 #321E69 #482C98 #5F3BC6 #866AD4

Accessibility & contrast

On white

10.05
#482C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#482C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482C98
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482C98#FFFFFF#000000##FFFFFF
##482C981.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#2A485E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #482c98;
/* rgb */ color: rgb(72, 44, 152);
/* oklch */ color: oklch(39.7% 0.166 288.3);
Tailwind
colors: {
  custom: {
    50: '#8367b7',
    500: '#482c98',
    950: '#000000',
  },
}
SCSS
$custom: #482c98;
$custom-light: #8367b7;
$custom-dark: #000000;
JSON
{
  "hex": "#482c98",
  "rgb": {
    "r": 72,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 255.556,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39671,
    "c": 0.16554,
    "h": 288.3
  },
  "luminance": 0.05446
}

Semantic roles & 50–950 ramp

primary
#482C98
secondary
#A5BB65
accent
#DE49B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #482C98

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

Preview Lab → · Contrast checker → · Palette generator →

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