#482170#482170

#482170 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.131 H 302.7°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#482170
RGBrgb(72, 33, 112)
HSLhsl(270, 54%, 28%)
HSVhsv(270, 71%, 44%)
CMYKcmyk(35.7%, 70.5%, 0%, 56.1%)
CIE-LABlab(22.43, 34.99, -38.63)
CIE-LCHlch(22.43, 52.12, 312.17°)
OKLaboklab(34.66% 0.0706 -0.1098)
OKLCHoklch(34.66% 0.131 302.7)
XYZxyz(6.1403, 3.6353, 15.7043)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482170 #497021
analogous
#212170 #482170 #6F2170
triadic
#482170 #704821 #217048
tetradic
#482170 #702121 #497021 #21706F
square
#482170 #702121 #497021 #21706F
split-complementary
#482170 #706F21 #217021
monochromatic
#0F0718 #2A1341 #482170 #662F9F #8544C8

Accessibility & contrast

On white

12.16
#482170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#482170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482170
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482170#FFFFFF#000000##FFFFFF
##4821701.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#00356E
Tritanopia (blue-blind)
#403345
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #482170;
/* rgb */ color: rgb(72, 33, 112);
/* oklch */ color: oklch(34.7% 0.131 302.7);
Tailwind
colors: {
  custom: {
    50: '#7f5f9a',
    500: '#482170',
    950: '#000000',
  },
}
SCSS
$custom: #482170;
$custom-light: #7f5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#482170",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 269.62,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34662,
    "c": 0.13056,
    "h": 302.7
  },
  "luminance": 0.03635
}

Semantic roles & 50–950 ramp

primary
#482170
secondary
#77A449
accent
#DE4A95
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #482170

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

Preview Lab → · Contrast checker → · Palette generator →

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