#481986#481986

#481986 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.165 H 296.3°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#481986
RGBrgb(72, 25, 134)
HSLhsl(266, 69%, 31%)
HSVhsv(266, 81%, 53%)
CMYKcmyk(46.3%, 81.3%, 0%, 47.5%)
CIE-LABlab(22.98, 44.74, -51.73)
CIE-LCHlch(22.98, 68.39, 310.86°)
OKLaboklab(35.65% 0.0734 -0.1482)
OKLCHoklch(35.65% 0.165 296.3)
XYZxyz(7.3220, 3.7940, 22.8962)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481986 #578619
analogous
#192086 #481986 #7E1986
triadic
#481986 #864819 #198648
tetradic
#481986 #861920 #578619 #19867E
square
#481986 #861920 #578619 #19867E
split-complementary
#481986 #867E19 #208619
monochromatic
#11061F #2C0F52 #481986 #6423BA #823EDB

Accessibility & contrast

On white

11.94
#481986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#481986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481986
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481986#FFFFFF#000000##FFFFFF
##4819861.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #481986;
/* rgb */ color: rgb(72, 25, 134);
/* oklch */ color: oklch(35.6% 0.165 296.3);
Tailwind
colors: {
  custom: {
    50: '#825caa',
    500: '#481986',
    950: '#000000',
  },
}
SCSS
$custom: #481986;
$custom-light: #825caa;
$custom-dark: #000000;
JSON
{
  "hex": "#481986",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 265.872,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35646,
    "c": 0.1654,
    "h": 296.3
  },
  "luminance": 0.03794
}

Semantic roles & 50–950 ramp

primary
#481986
secondary
#86BA41
accent
#EB3CA0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #481986

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

Preview Lab → · Contrast checker → · Palette generator →

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