#482D87#482D87

#482D87 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.143 H 292.1°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#482D87
RGBrgb(72, 45, 135)
HSLhsl(258, 50%, 35%)
HSVhsv(258, 67%, 53%)
CMYKcmyk(46.7%, 66.7%, 0%, 47.1%)
CIE-LABlab(26.74, 34.72, -46.21)
CIE-LCHlch(26.74, 57.80, 306.92°)
OKLaboklab(38.35% 0.0537 -0.1321)
OKLCHoklch(38.35% 0.143 292.1)
XYZxyz(7.9828, 5.0035, 23.4621)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482D87 #6C872D
analogous
#2D3F87 #482D87 #752D87
triadic
#482D87 #87482D #2D8748
tetradic
#482D87 #872D3F #6C872D #2D8775
square
#482D87 #872D3F #6C872D #2D8775
split-complementary
#482D87 #87752D #3F872D
monochromatic
#170E2B #301E59 #482D87 #603CB5 #8263CB

Accessibility & contrast

On white

10.50
#482D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#482D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482D87
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482D87#FFFFFF#000000##FFFFFF
##482D871.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#354256
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #482d87;
/* rgb */ color: rgb(72, 45, 135);
/* oklch */ color: oklch(38.3% 0.143 292.1);
Tailwind
colors: {
  custom: {
    50: '#8168ab',
    500: '#482d87',
    950: '#000000',
  },
}
SCSS
$custom: #482d87;
$custom-light: #8168ab;
$custom-dark: #000000;
JSON
{
  "hex": "#482d87",
  "rgb": {
    "r": 72,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 258,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38346,
    "c": 0.14263,
    "h": 292.1
  },
  "luminance": 0.05004
}

Semantic roles & 50–950 ramp

primary
#482D87
secondary
#99B25E
accent
#DA4EB0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #482D87

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

Preview Lab → · Contrast checker → · Palette generator →

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