#482D9E#482D9E

#482D9E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.172 H 286.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#482D9E
RGBrgb(72, 45, 158)
HSLhsl(254, 56%, 40%)
HSVhsv(254, 72%, 62%)
CMYKcmyk(54.4%, 71.5%, 0%, 38%)
CIE-LABlab(28.70, 41.62, -57.18)
CIE-LCHlch(28.70, 70.72, 306.05°)
OKLaboklab(40.36% 0.05 -0.1644)
OKLCHoklch(40.36% 0.172 286.9)
XYZxyz(9.7806, 5.7226, 32.9303)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482D9E #839E2D
analogous
#2D4B9E #482D9E #802D9E
triadic
#482D9E #9E482D #2D9E48
tetradic
#482D9E #9E2D4B #839E2D #2D9E80
square
#482D9E #9E2D4B #839E2D #2D9E80
split-complementary
#482D9E #9E802D #4B9E2D
monochromatic
#1D123F #321F6E #482D9E #6040C9 #886FD6

Accessibility & contrast

On white

9.79
#482D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#482D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482D9E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482D9E#FFFFFF#000000##FFFFFF
##482D9E1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#254B62
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #482d9e;
/* rgb */ color: rgb(72, 45, 158);
/* oklch */ color: oklch(40.4% 0.172 286.9);
Tailwind
colors: {
  custom: {
    50: '#8468bc',
    500: '#482d9e',
    950: '#000000',
  },
}
SCSS
$custom: #482d9e;
$custom-light: #8468bc;
$custom-dark: #000000;
JSON
{
  "hex": "#482d9e",
  "rgb": {
    "r": 72,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 254.336,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40358,
    "c": 0.1718,
    "h": 286.9
  },
  "luminance": 0.05723
}

Semantic roles & 50–950 ramp

primary
#482D9E
secondary
#A9BD69
accent
#DF49BB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #482D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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