#481564#481564

#481564 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.133 H 310.4°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#481564
RGBrgb(72, 21, 100)
HSLhsl(279, 65%, 24%)
HSVhsv(279, 79%, 39%)
CMYKcmyk(28%, 79%, 0%, 60.8%)
CIE-LABlab(19.37, 37.86, -35.77)
CIE-LCHlch(19.37, 52.08, 316.62°)
OKLaboklab(32.18% 0.0861 -0.1013)
OKLCHoklch(32.18% 0.133 310.4)
XYZxyz(5.2405, 2.8343, 12.3251)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481564 #316415
analogous
#201564 #481564 #641558
triadic
#481564 #644815 #156448
tetradic
#481564 #642015 #316415 #155864
square
#481564 #642015 #316415 #155864
split-complementary
#481564 #586415 #156420
monochromatic
#120519 #240A31 #481564 #6C2097 #912AC9

Accessibility & contrast

On white

13.40
#481564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#481564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481564
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481564#FFFFFF#000000##FFFFFF
##4815641.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D66
Deuteranopia (green-blind)
#043062
Tritanopia (blue-blind)
#44273B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #481564;
/* rgb */ color: rgb(72, 21, 100);
/* oklch */ color: oklch(32.2% 0.133 310.4);
Tailwind
colors: {
  custom: {
    50: '#7e5891',
    500: '#481564',
    950: '#000000',
  },
}
SCSS
$custom: #481564;
$custom-light: #7e5891;
$custom-dark: #000000;
JSON
{
  "hex": "#481564",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 278.734,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32182,
    "c": 0.133,
    "h": 310.4
  },
  "luminance": 0.02834
}

Semantic roles & 50–950 ramp

primary
#481564
secondary
#5C9B3A
accent
#E8407B
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040D
muted
#7C797D

Preview Lab

Preview with #481564

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

Preview Lab → · Contrast checker → · Palette generator →

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