#481785#481785

#481785 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.166 H 296.9°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#481785
RGBrgb(72, 23, 133)
HSLhsl(267, 71%, 31%)
HSVhsv(267, 83%, 52%)
CMYKcmyk(45.9%, 82.7%, 0%, 47.8%)
CIE-LABlab(22.60, 45.30, -51.72)
CIE-LCHlch(22.60, 68.76, 311.21°)
OKLaboklab(35.35% 0.0752 -0.1482)
OKLCHoklch(35.35% 0.166 296.9)
XYZxyz(7.2114, 3.6838, 22.5169)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481785 #548517
analogous
#171D85 #481785 #7F1785
triadic
#481785 #854817 #178548
tetradic
#481785 #85171D #548517 #17857F
square
#481785 #85171D #548517 #17857F
split-complementary
#481785 #857F17 #1D8517
monochromatic
#10051D #2C0E51 #481785 #6420B9 #823ADD

Accessibility & contrast

On white

12.09
#481785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#481785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481785
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481785#FFFFFF#000000##FFFFFF
##4817851.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#37364F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481785;
/* rgb */ color: rgb(72, 23, 133);
/* oklch */ color: oklch(35.4% 0.166 296.9);
Tailwind
colors: {
  custom: {
    50: '#825ba9',
    500: '#481785',
    950: '#000000',
  },
}
SCSS
$custom: #481785;
$custom-light: #825ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#481785",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 266.727,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35352,
    "c": 0.16621,
    "h": 296.9
  },
  "luminance": 0.03684
}

Semantic roles & 50–950 ramp

primary
#481785
secondary
#83B93F
accent
#ED3B9E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #481785

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

Preview Lab → · Contrast checker → · Palette generator →

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