#482D9F#482D9F

#482D9F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.173 H 286.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#482D9F
RGBrgb(72, 45, 159)
HSLhsl(254, 56%, 40%)
HSVhsv(254, 72%, 62%)
CMYKcmyk(54.7%, 71.7%, 0%, 37.6%)
CIE-LABlab(28.79, 41.92, -57.64)
CIE-LCHlch(28.79, 71.27, 306.03°)
OKLaboklab(40.45% 0.0498 -0.1657)
OKLCHoklch(40.45% 0.173 286.7)
XYZxyz(9.8670, 5.7572, 33.3855)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482D9F #849F2D
analogous
#2D4B9F #482D9F #812D9F
triadic
#482D9F #9F482D #2D9F48
tetradic
#482D9F #9F2D4B #849F2D #2D9F81
square
#482D9F #9F2D4B #849F2D #2D9F81
split-complementary
#482D9F #9F812D #4B9F2D
monochromatic
#1D1240 #32206F #482D9F #6140C9 #8870D6

Accessibility & contrast

On white

9.76
#482D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#482D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482D9F
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482D9F#FFFFFF#000000##FFFFFF
##482D9F1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#244B63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #482d9f;
/* rgb */ color: rgb(72, 45, 159);
/* oklch */ color: oklch(40.4% 0.173 286.7);
Tailwind
colors: {
  custom: {
    50: '#8468bc',
    500: '#482d9f',
    950: '#000000',
  },
}
SCSS
$custom: #482d9f;
$custom-light: #8468bc;
$custom-dark: #000000;
JSON
{
  "hex": "#482d9f",
  "rgb": {
    "r": 72,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 254.211,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.40449,
    "c": 0.17303,
    "h": 286.7
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#482D9F
secondary
#AABE6A
accent
#DF49BC
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #482D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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