#481879#481879

#481879 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.152 H 300.9°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#481879
RGBrgb(72, 24, 121)
HSLhsl(270, 67%, 28%)
HSVhsv(270, 80%, 47%)
CMYKcmyk(40.5%, 80.2%, 0%, 52.5%)
CIE-LABlab(21.62, 41.78, -45.72)
CIE-LCHlch(21.62, 61.93, 312.42°)
OKLaboklab(34.33% 0.0782 -0.1306)
OKLCHoklch(34.33% 0.152 300.9)
XYZxyz(6.4495, 3.4114, 18.4041)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481879 #497918
analogous
#181879 #481879 #781879
triadic
#481879 #794818 #187948
tetradic
#481879 #791818 #497918 #187978
square
#481879 #791818 #497918 #187978
split-complementary
#481879 #797818 #187918
monochromatic
#0F051A #2A0E46 #481879 #6622AC #8535D7

Accessibility & contrast

On white

12.48
#481879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481879
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481879#FFFFFF#000000##FFFFFF
##4818791.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #481879;
/* rgb */ color: rgb(72, 24, 121);
/* oklch */ color: oklch(34.3% 0.152 300.9);
Tailwind
colors: {
  custom: {
    50: '#805ba1',
    500: '#481879',
    950: '#000000',
  },
}
SCSS
$custom: #481879;
$custom-light: #805ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#481879",
  "rgb": {
    "r": 72,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 269.691,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34328,
    "c": 0.1522,
    "h": 300.9
  },
  "luminance": 0.03411
}

Semantic roles & 50–950 ramp

primary
#481879
secondary
#77AE3F
accent
#EA3E95
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481879

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

Preview Lab → · Contrast checker → · Palette generator →

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