#481886#481886

#481886 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.166 H 296.5°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#481886
RGBrgb(72, 24, 134)
HSLhsl(266, 70%, 31%)
HSVhsv(266, 82%, 53%)
CMYKcmyk(46.3%, 82.1%, 0%, 47.5%)
CIE-LABlab(22.83, 45.16, -51.96)
CIE-LCHlch(22.83, 68.84, 310.99°)
OKLaboklab(35.55% 0.0741 -0.1489)
OKLCHoklch(35.55% 0.166 296.5)
XYZxyz(7.3011, 3.7520, 22.8892)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481886 #568618
analogous
#181F86 #481886 #7F1886
triadic
#481886 #864818 #188648
tetradic
#481886 #86181F #568618 #18867F
square
#481886 #86181F #568618 #18867F
split-complementary
#481886 #867F18 #1F8618
monochromatic
#10051E #2C0F52 #481886 #6421BA #823CDC

Accessibility & contrast

On white

12.00
#481886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#481886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481886
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481886#FFFFFF#000000##FFFFFF
##4818861.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#37374F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481886;
/* rgb */ color: rgb(72, 24, 134);
/* oklch */ color: oklch(35.5% 0.166 296.5);
Tailwind
colors: {
  custom: {
    50: '#825caa',
    500: '#481886',
    950: '#000000',
  },
}
SCSS
$custom: #481886;
$custom-light: #825caa;
$custom-dark: #000000;
JSON
{
  "hex": "#481886",
  "rgb": {
    "r": 72,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 266.182,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35546,
    "c": 0.16637,
    "h": 296.5
  },
  "luminance": 0.03752
}

Semantic roles & 50–950 ramp

primary
#481886
secondary
#85BA40
accent
#EC3B9F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #481886

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

Preview Lab → · Contrast checker → · Palette generator →

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