#481987#481987

#481987 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.167 H 296.0°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#481987
RGBrgb(72, 25, 135)
HSLhsl(266, 69%, 31%)
HSVhsv(266, 81%, 53%)
CMYKcmyk(46.7%, 81.5%, 0%, 47.1%)
CIE-LABlab(23.07, 45.00, -52.20)
CIE-LCHlch(23.07, 68.92, 310.77°)
OKLaboklab(35.74% 0.073 -0.1496)
OKLCHoklch(35.74% 0.167 296)
XYZxyz(7.3921, 3.8221, 23.2652)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481987 #588719
analogous
#192187 #481987 #7F1987
triadic
#481987 #874819 #198748
tetradic
#481987 #871921 #588719 #19877F
square
#481987 #871921 #588719 #19877F
split-complementary
#481987 #877F19 #218719
monochromatic
#110620 #2C0F53 #481987 #6423BB #823FDB

Accessibility & contrast

On white

11.90
#481987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481987
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481987#FFFFFF#000000##FFFFFF
##4819871.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#363850
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #481987;
/* rgb */ color: rgb(72, 25, 135);
/* oklch */ color: oklch(35.7% 0.167 296.0);
Tailwind
colors: {
  custom: {
    50: '#825cab',
    500: '#481987',
    950: '#000000',
  },
}
SCSS
$custom: #481987;
$custom-light: #825cab;
$custom-dark: #000000;
JSON
{
  "hex": "#481987",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 265.636,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35742,
    "c": 0.1665,
    "h": 296
  },
  "luminance": 0.03822
}

Semantic roles & 50–950 ramp

primary
#481987
secondary
#87BA41
accent
#EC3CA1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #481987

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

Preview Lab → · Contrast checker → · Palette generator →

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