#481678#481678

#481678 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.153 H 301.6°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#481678
RGBrgb(72, 22, 120)
HSLhsl(271, 69%, 28%)
HSVhsv(271, 82%, 47%)
CMYKcmyk(40%, 81.7%, 0%, 52.9%)
CIE-LABlab(21.24, 42.37, -45.71)
CIE-LCHlch(21.24, 62.33, 312.83°)
OKLaboklab(34.03% 0.0802 -0.1305)
OKLCHoklch(34.03% 0.153 301.6)
XYZxyz(6.3487, 3.3076, 18.0696)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481678 #467816
analogous
#171678 #481678 #781677
triadic
#481678 #784816 #167848
tetradic
#481678 #781716 #467816 #167778
square
#481678 #781716 #467816 #167778
split-complementary
#481678 #777816 #167817
monochromatic
#10051A #290D44 #481678 #671FAC #862FD9

Accessibility & contrast

On white

12.64
#481678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#481678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481678
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481678#FFFFFF#000000##FFFFFF
##4816781.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#3D3047
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #481678;
/* rgb */ color: rgb(72, 22, 120);
/* oklch */ color: oklch(34.0% 0.153 301.6);
Tailwind
colors: {
  custom: {
    50: '#805aa0',
    500: '#481678',
    950: '#000000',
  },
}
SCSS
$custom: #481678;
$custom-light: #805aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#481678",
  "rgb": {
    "r": 72,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 270.612,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34031,
    "c": 0.15322,
    "h": 301.6
  },
  "luminance": 0.03308
}

Semantic roles & 50–950 ramp

primary
#481678
secondary
#74AD3C
accent
#EC3C92
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #481678

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

Preview Lab → · Contrast checker → · Palette generator →

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