#481778#481778

#481778 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.152 H 301.4°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#481778
RGBrgb(72, 23, 120)
HSLhsl(270, 68%, 28%)
HSVhsv(270, 81%, 47%)
CMYKcmyk(40%, 80.8%, 0%, 52.9%)
CIE-LABlab(21.38, 41.95, -45.47)
CIE-LCHlch(21.38, 61.87, 312.70°)
OKLaboklab(34.13% 0.0793 -0.1299)
OKLCHoklch(34.13% 0.152 301.4)
XYZxyz(6.3682, 3.3465, 18.0761)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481778 #477817
analogous
#171778 #481778 #781777
triadic
#481778 #784817 #177848
tetradic
#481778 #781717 #477817 #177778
square
#481778 #781717 #477817 #177778
split-complementary
#481778 #777817 #177817
monochromatic
#0F051A #290D45 #481778 #6721AB #8632D8

Accessibility & contrast

On white

12.58
#481778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481778
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481778#FFFFFF#000000##FFFFFF
##4817781.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#3D3147
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #481778;
/* rgb */ color: rgb(72, 23, 120);
/* oklch */ color: oklch(34.1% 0.152 301.4);
Tailwind
colors: {
  custom: {
    50: '#805aa0',
    500: '#481778',
    950: '#000000',
  },
}
SCSS
$custom: #481778;
$custom-light: #805aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#481778",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 270.309,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34132,
    "c": 0.15217,
    "h": 301.4
  },
  "luminance": 0.03347
}

Semantic roles & 50–950 ramp

primary
#481778
secondary
#75AD3E
accent
#EB3D93
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #481778

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

Preview Lab → · Contrast checker → · Palette generator →

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