#481966#481966

#481966 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.130 H 308.8°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#481966
RGBrgb(72, 25, 102)
HSLhsl(277, 61%, 25%)
HSVhsv(277, 75%, 40%)
CMYKcmyk(29.4%, 75.5%, 0%, 60%)
CIE-LABlab(20.17, 36.51, -35.78)
CIE-LCHlch(20.17, 51.12, 315.58°)
OKLaboklab(32.8% 0.0814 -0.1014)
OKLCHoklch(32.8% 0.13 308.8)
XYZxyz(5.4179, 3.0324, 12.8677)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481966 #376619
analogous
#211966 #481966 #66195E
triadic
#481966 #664819 #196648
tetradic
#481966 #662119 #376619 #195E66
square
#481966 #662119 #376619 #195E66
split-complementary
#481966 #5E6619 #196621
monochromatic
#110619 #250D35 #481966 #6B2597 #8D31C8

Accessibility & contrast

On white

13.07
#481966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#481966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481966
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481966#FFFFFF#000000##FFFFFF
##4819661.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F68
Deuteranopia (green-blind)
#063164
Tritanopia (blue-blind)
#432A3D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #481966;
/* rgb */ color: rgb(72, 25, 102);
/* oklch */ color: oklch(32.8% 0.130 308.8);
Tailwind
colors: {
  custom: {
    50: '#7e5a92',
    500: '#481966',
    950: '#000000',
  },
}
SCSS
$custom: #481966;
$custom-light: #7e5a92;
$custom-dark: #000000;
JSON
{
  "hex": "#481966",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 276.623,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32804,
    "c": 0.13006,
    "h": 308.8
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#481966
secondary
#639C3F
accent
#E44482
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #481966

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

Preview Lab → · Contrast checker → · Palette generator →

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