#481976#481976

#481976 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.148 H 301.9°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#481976
RGBrgb(72, 25, 118)
HSLhsl(270, 65%, 28%)
HSVhsv(270, 79%, 46%)
CMYKcmyk(39%, 78.8%, 0%, 53.7%)
CIE-LABlab(21.51, 40.56, -43.98)
CIE-LCHlch(21.51, 59.83, 312.68°)
OKLaboklab(34.17% 0.078 -0.1255)
OKLCHoklch(34.17% 0.148 301.9)
XYZxyz(6.2893, 3.3810, 17.4573)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481976 #477619
analogous
#1A1976 #481976 #761975
triadic
#481976 #764819 #197648
tetradic
#481976 #761A19 #477619 #197576
square
#481976 #761A19 #477619 #197576
split-complementary
#481976 #757619 #19761A
monochromatic
#0F0519 #290E43 #481976 #6724A8 #8635D4

Accessibility & contrast

On white

12.53
#481976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#481976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481976
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481976#FFFFFF#000000##FFFFFF
##4819761.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#3E3146
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #481976;
/* rgb */ color: rgb(72, 25, 118);
/* oklch */ color: oklch(34.2% 0.148 301.9);
Tailwind
colors: {
  custom: {
    50: '#805b9e',
    500: '#481976',
    950: '#000000',
  },
}
SCSS
$custom: #481976;
$custom-light: #805b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#481976",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 270.323,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34167,
    "c": 0.14779,
    "h": 301.9
  },
  "luminance": 0.03381
}

Semantic roles & 50–950 ramp

primary
#481976
secondary
#75AB40
accent
#E84093
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481976

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

Preview Lab → · Contrast checker → · Palette generator →

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