#481579#481579

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

Color values

HEX#481579
RGBrgb(72, 21, 121)
HSLhsl(271, 70%, 28%)
HSVhsv(271, 83%, 47%)
CMYKcmyk(40.5%, 82.6%, 0%, 52.5%)
CIE-LABlab(21.19, 43.03, -46.43)
CIE-LCHlch(21.19, 63.30, 312.83°)
OKLaboklab(34.03% 0.0807 -0.1327)
OKLCHoklch(34.03% 0.155 301.3)
XYZxyz(6.3910, 3.2945, 18.3846)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481579 #467915
analogous
#161579 #481579 #791578
triadic
#481579 #794815 #157948
tetradic
#481579 #791615 #467915 #157879
square
#481579 #791615 #467915 #157879
split-complementary
#481579 #787915 #157916
monochromatic
#10051A #290C45 #481579 #671EAD #862EDB

Accessibility & contrast

On white

12.66
#481579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481579
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481579#FFFFFF#000000##FFFFFF
##4815791.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#3D3047
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #481579;
/* rgb */ color: rgb(72, 21, 121);
/* oklch */ color: oklch(34.0% 0.155 301.3);
Tailwind
colors: {
  custom: {
    50: '#815aa1',
    500: '#481579',
    950: '#000000',
  },
}
SCSS
$custom: #481579;
$custom-light: #815aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#481579",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 270.6,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34025,
    "c": 0.1553,
    "h": 301.3
  },
  "luminance": 0.03295
}

Semantic roles & 50–950 ramp

primary
#481579
secondary
#74AF3B
accent
#ED3B92
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481579

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

Preview Lab → · Contrast checker → · Palette generator →

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