#482D8B#482D8B

#482D8B is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.148 H 291.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#482D8B
RGBrgb(72, 45, 139)
HSLhsl(257, 51%, 36%)
HSVhsv(257, 68%, 55%)
CMYKcmyk(48.2%, 67.6%, 0%, 45.5%)
CIE-LABlab(27.07, 35.92, -48.17)
CIE-LCHlch(27.07, 60.08, 306.71°)
OKLaboklab(38.68% 0.0532 -0.1379)
OKLCHoklch(38.68% 0.148 291.1)
XYZxyz(8.2698, 5.1183, 24.9733)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482D8B #708B2D
analogous
#2D418B #482D8B #772D8B
triadic
#482D8B #8B482D #2D8B48
tetradic
#482D8B #8B2D41 #708B2D #2D8B77
square
#482D8B #8B2D41 #708B2D #2D8B77
split-complementary
#482D8B #8B772D #418B2D
monochromatic
#180F2F #301E5D #482D8B #603CB9 #8365CD

Accessibility & contrast

On white

10.38
#482D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#482D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482D8B
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482D8B#FFFFFF#000000##FFFFFF
##482D8B1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#334458
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #482d8b;
/* rgb */ color: rgb(72, 45, 139);
/* oklch */ color: oklch(38.7% 0.148 291.1);
Tailwind
colors: {
  custom: {
    50: '#8168ae',
    500: '#482d8b',
    950: '#000000',
  },
}
SCSS
$custom: #482d8b;
$custom-light: #8168ae;
$custom-dark: #000000;
JSON
{
  "hex": "#482d8b",
  "rgb": {
    "r": 72,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 257.234,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38682,
    "c": 0.1478,
    "h": 291.1
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#482D8B
secondary
#9CB460
accent
#DB4DB2
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #482D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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