#481776#481776

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

Color values

HEX#481776
RGBrgb(72, 23, 118)
HSLhsl(271, 67%, 28%)
HSVhsv(271, 81%, 46%)
CMYKcmyk(39%, 80.5%, 0%, 53.7%)
CIE-LABlab(21.20, 41.44, -44.48)
CIE-LCHlch(21.20, 60.79, 312.97°)
OKLaboklab(33.95% 0.0799 -0.127)
OKLCHoklch(33.95% 0.15 302.2)
XYZxyz(6.2481, 3.2985, 17.4435)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481776 #457617
analogous
#181776 #481776 #761775
triadic
#481776 #764817 #177648
tetradic
#481776 #761817 #457617 #177576
square
#481776 #761817 #457617 #177576
split-complementary
#481776 #757617 #177618
monochromatic
#10051A #290D43 #481776 #6721A9 #8631D7

Accessibility & contrast

On white

12.65
#481776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481776
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481776#FFFFFF#000000##FFFFFF
##4817761.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#3E3046
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #481776;
/* rgb */ color: rgb(72, 23, 118);
/* oklch */ color: oklch(34.0% 0.150 302.2);
Tailwind
colors: {
  custom: {
    50: '#805a9e',
    500: '#481776',
    950: '#000000',
  },
}
SCSS
$custom: #481776;
$custom-light: #805a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#481776",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 270.947,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33951,
    "c": 0.15001,
    "h": 302.2
  },
  "luminance": 0.03299
}

Semantic roles & 50–950 ramp

primary
#481776
secondary
#73AB3E
accent
#EA3E91
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481776

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

Preview Lab → · Contrast checker → · Palette generator →

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