#481687#481687

#481687 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.169 H 296.4°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#481687
RGBrgb(72, 22, 135)
HSLhsl(267, 72%, 31%)
HSVhsv(267, 84%, 53%)
CMYKcmyk(46.7%, 83.7%, 0%, 47.1%)
CIE-LABlab(22.66, 46.22, -52.88)
CIE-LCHlch(22.66, 70.24, 311.15°)
OKLaboklab(35.45% 0.0753 -0.1516)
OKLCHoklch(35.45% 0.169 296.4)
XYZxyz(7.3314, 3.7006, 23.2450)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481687 #558716
analogous
#161C87 #481687 #801687
triadic
#481687 #874816 #168748
tetradic
#481687 #87161C #558716 #168780
square
#481687 #87161C #558716 #168780
split-complementary
#481687 #878016 #1C8716
monochromatic
#10051E #2C0D52 #481687 #641FBC #8239DF

Accessibility & contrast

On white

12.07
#481687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481687
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481687#FFFFFF#000000##FFFFFF
##4816871.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#363750
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481687;
/* rgb */ color: rgb(72, 22, 135);
/* oklch */ color: oklch(35.5% 0.169 296.4);
Tailwind
colors: {
  custom: {
    50: '#825bab',
    500: '#481687',
    950: '#000000',
  },
}
SCSS
$custom: #481687;
$custom-light: #825bab;
$custom-dark: #000000;
JSON
{
  "hex": "#481687",
  "rgb": {
    "r": 72,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 266.549,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35452,
    "c": 0.16928,
    "h": 296.4
  },
  "luminance": 0.03701
}

Semantic roles & 50–950 ramp

primary
#481687
secondary
#84BB3E
accent
#EF399E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #481687

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

Preview Lab → · Contrast checker → · Palette generator →

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