#481168#481168

#481168 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.142 H 309.0°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#481168
RGBrgb(72, 17, 104)
HSLhsl(278, 72%, 24%)
HSVhsv(278, 84%, 41%)
CMYKcmyk(30.8%, 83.7%, 0%, 59.2%)
CIE-LABlab(19.13, 40.44, -38.78)
CIE-LCHlch(19.13, 56.03, 316.20°)
OKLaboklab(32.12% 0.0891 -0.1101)
OKLCHoklch(32.12% 0.142 309)
XYZxyz(5.3711, 2.7782, 13.3473)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481168 #316811
analogous
#1C1168 #481168 #68115C
triadic
#481168 #684811 #116848
tetradic
#481168 #681C11 #316811 #115C68
square
#481168 #681C11 #316811 #115C68
split-complementary
#481168 #5C6811 #11681C
monochromatic
#12041A #240833 #481168 #6C1A9D #9122D1

Accessibility & contrast

On white

13.50
#481168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#481168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481168
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481168#FFFFFF#000000##FFFFFF
##4811681.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#43273D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #481168;
/* rgb */ color: rgb(72, 17, 104);
/* oklch */ color: oklch(32.1% 0.142 309.0);
Tailwind
colors: {
  custom: {
    50: '#7f5794',
    500: '#481168',
    950: '#000000',
  },
}
SCSS
$custom: #481168;
$custom-light: #7f5794;
$custom-dark: #000000;
JSON
{
  "hex": "#481168",
  "rgb": {
    "r": 72,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 277.931,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32121,
    "c": 0.14166,
    "h": 309
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#481168
secondary
#5CA035
accent
#EF397C
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #481168

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

Preview Lab → · Contrast checker → · Palette generator →

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