#482F87#482F87

#482F87 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.7% C 0.140 H 291.6°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#482F87
RGBrgb(72, 47, 135)
HSLhsl(257, 48%, 36%)
HSVhsv(257, 65%, 53%)
CMYKcmyk(46.7%, 65.2%, 0%, 47.1%)
CIE-LABlab(27.18, 33.54, -45.49)
CIE-LCHlch(27.18, 56.52, 306.40°)
OKLaboklab(38.67% 0.0514 -0.13)
OKLCHoklch(38.67% 0.14 291.6)
XYZxyz(8.0610, 5.1597, 23.4882)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482F87 #6E872F
analogous
#2F4287 #482F87 #742F87
triadic
#482F87 #87482F #2F8748
tetradic
#482F87 #872F42 #6E872F #2F8774
square
#482F87 #872F42 #6E872F #2F8774
split-complementary
#482F87 #87742F #42872F
monochromatic
#180F2C #301F5A #482F87 #603FB4 #8366CA

Accessibility & contrast

On white

10.33
#482F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#482F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482F87
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482F87#FFFFFF#000000##FFFFFF
##482F871.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#354456
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #482f87;
/* rgb */ color: rgb(72, 47, 135);
/* oklch */ color: oklch(38.7% 0.140 291.6);
Tailwind
colors: {
  custom: {
    50: '#8069ab',
    500: '#482f87',
    950: '#000000',
  },
}
SCSS
$custom: #482f87;
$custom-light: #8069ab;
$custom-dark: #000000;
JSON
{
  "hex": "#482f87",
  "rgb": {
    "r": 72,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 257.045,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38665,
    "c": 0.13983,
    "h": 291.6
  },
  "luminance": 0.0516
}

Semantic roles & 50–950 ramp

primary
#482F87
secondary
#9AB161
accent
#D850B1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #482F87

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

Preview Lab → · Contrast checker → · Palette generator →

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