#482181#482181

#482181 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.151 H 296.6°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#482181
RGBrgb(72, 33, 129)
HSLhsl(264, 59%, 32%)
HSVhsv(264, 74%, 51%)
CMYKcmyk(44.2%, 74.4%, 0%, 49.4%)
CIE-LABlab(23.84, 39.63, -47.18)
CIE-LCHlch(23.84, 61.61, 310.03°)
OKLaboklab(36.11% 0.0676 -0.1349)
OKLCHoklch(36.11% 0.151 296.6)
XYZxyz(7.1777, 4.0503, 21.1682)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482181 #5A8121
analogous
#212A81 #482181 #782181
triadic
#482181 #814821 #218148
tetradic
#482181 #81212A #5A8121 #218178
square
#482181 #81212A #5A8121 #218178
split-complementary
#482181 #817821 #2A8121
monochromatic
#120820 #2D1550 #482181 #632DB2 #824BD1

Accessibility & contrast

On white

11.60
#482181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#482181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482181
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482181#FFFFFF#000000##FFFFFF
##4821811.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003984
Deuteranopia (green-blind)
#00377F
Tritanopia (blue-blind)
#39394F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #482181;
/* rgb */ color: rgb(72, 33, 129);
/* oklch */ color: oklch(36.1% 0.151 296.6);
Tailwind
colors: {
  custom: {
    50: '#8160a6',
    500: '#482181',
    950: '#000000',
  },
}
SCSS
$custom: #482181;
$custom-light: #8160a6;
$custom-dark: #000000;
JSON
{
  "hex": "#482181",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 264.375,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36108,
    "c": 0.15091,
    "h": 296.6
  },
  "luminance": 0.0405
}

Semantic roles & 50–950 ramp

primary
#482181
secondary
#89B44A
accent
#E245A3
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #482181

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

Preview Lab → · Contrast checker → · Palette generator →

#482181 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva