#481779#481779

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

Color values

HEX#481779
RGBrgb(72, 23, 121)
HSLhsl(270, 68%, 28%)
HSVhsv(270, 81%, 47%)
CMYKcmyk(40.5%, 81%, 0%, 52.5%)
CIE-LABlab(21.47, 42.21, -45.96)
CIE-LCHlch(21.47, 62.40, 312.56°)
OKLaboklab(34.22% 0.079 -0.1313)
OKLCHoklch(34.22% 0.153 301)
XYZxyz(6.4292, 3.3709, 18.3974)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481779 #487917
analogous
#171779 #481779 #791779
triadic
#481779 #794817 #177948
tetradic
#481779 #791717 #487917 #177979
square
#481779 #791717 #487917 #177979
split-complementary
#481779 #797917 #177917
monochromatic
#0F051A #290D46 #481779 #6721AC #8532D8

Accessibility & contrast

On white

12.54
#481779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#481779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481779
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481779#FFFFFF#000000##FFFFFF
##4817791.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #481779;
/* rgb */ color: rgb(72, 23, 121);
/* oklch */ color: oklch(34.2% 0.153 301.0);
Tailwind
colors: {
  custom: {
    50: '#805aa1',
    500: '#481779',
    950: '#000000',
  },
}
SCSS
$custom: #481779;
$custom-light: #805aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#481779",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 270,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34224,
    "c": 0.15325,
    "h": 301
  },
  "luminance": 0.03371
}

Semantic roles & 50–950 ramp

primary
#481779
secondary
#76AE3E
accent
#EB3D94
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481779

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

Preview Lab → · Contrast checker → · Palette generator →

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