#481A86#481A86

#481A86 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.164 H 296.2°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#481A86
RGBrgb(72, 26, 134)
HSLhsl(266, 68%, 31%)
HSVhsv(266, 81%, 53%)
CMYKcmyk(46.3%, 80.6%, 0%, 47.5%)
CIE-LABlab(23.13, 44.31, -51.48)
CIE-LCHlch(23.13, 67.92, 310.72°)
OKLaboklab(35.75% 0.0726 -0.1475)
OKLCHoklch(35.75% 0.164 296.2)
XYZxyz(7.3438, 3.8376, 22.9034)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481A86 #58861A
analogous
#1A2286 #481A86 #7E1A86
triadic
#481A86 #86481A #1A8648
tetradic
#481A86 #861A22 #58861A #1A867E
square
#481A86 #861A22 #58861A #1A867E
split-complementary
#481A86 #867E1A #22861A
monochromatic
#11061F #2C1053 #481A86 #6424B9 #8240DA

Accessibility & contrast

On white

11.88
#481A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#481A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481A86
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481A86#FFFFFF#000000##FFFFFF
##481A861.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#373850
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #481a86;
/* rgb */ color: rgb(72, 26, 134);
/* oklch */ color: oklch(35.7% 0.164 296.2);
Tailwind
colors: {
  custom: {
    50: '#825daa',
    500: '#481a86',
    950: '#000000',
  },
}
SCSS
$custom: #481a86;
$custom-light: #825daa;
$custom-dark: #000000;
JSON
{
  "hex": "#481a86",
  "rgb": {
    "r": 72,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 265.556,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35749,
    "c": 0.16442,
    "h": 296.2
  },
  "luminance": 0.03838
}

Semantic roles & 50–950 ramp

primary
#481A86
secondary
#87B942
accent
#EA3DA1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #481A86

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

Preview Lab → · Contrast checker → · Palette generator →

#481A86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva