#481679#481679

#481679 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.154 H 301.2°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#481679
RGBrgb(72, 22, 121)
HSLhsl(270, 69%, 28%)
HSVhsv(270, 82%, 47%)
CMYKcmyk(40.5%, 81.8%, 0%, 52.5%)
CIE-LABlab(21.33, 42.62, -46.20)
CIE-LCHlch(21.33, 62.86, 312.70°)
OKLaboklab(34.12% 0.0799 -0.132)
OKLCHoklch(34.12% 0.154 301.2)
XYZxyz(6.4097, 3.3320, 18.3909)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481679 #477916
analogous
#161679 #481679 #791678
triadic
#481679 #794816 #167948
tetradic
#481679 #791616 #477916 #167879
square
#481679 #791616 #477916 #167879
split-complementary
#481679 #787916 #167916
monochromatic
#0F051A #290D45 #481679 #671FAD #8630D9

Accessibility & contrast

On white

12.60
#481679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#481679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481679
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481679#FFFFFF#000000##FFFFFF
##4816791.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#3D3148
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #481679;
/* rgb */ color: rgb(72, 22, 121);
/* oklch */ color: oklch(34.1% 0.154 301.2);
Tailwind
colors: {
  custom: {
    50: '#805aa1',
    500: '#481679',
    950: '#000000',
  },
}
SCSS
$custom: #481679;
$custom-light: #805aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#481679",
  "rgb": {
    "r": 72,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 270.303,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34122,
    "c": 0.15429,
    "h": 301.2
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#481679
secondary
#75AE3D
accent
#EC3C93
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481679

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

Preview Lab → · Contrast checker → · Palette generator →

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