#481F97#481F97

#481F97 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.179 H 290.8°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#481F97
RGBrgb(72, 31, 151)
HSLhsl(261, 66%, 36%)
HSVhsv(261, 79%, 59%)
CMYKcmyk(52.3%, 79.5%, 0%, 40.8%)
CIE-LABlab(25.54, 46.69, -58.09)
CIE-LCHlch(25.54, 74.53, 308.80°)
OKLaboklab(37.93% 0.0633 -0.1669)
OKLCHoklch(37.93% 0.179 290.8)
XYZxyz(8.7468, 4.5917, 29.6976)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F97 #6E971F
analogous
#1F3297 #481F97 #841F97
triadic
#481F97 #97481F #1F9748
tetradic
#481F97 #971F32 #6E971F #1F9784
square
#481F97 #971F32 #6E971F #1F9784
split-complementary
#481F97 #97841F #32971F
monochromatic
#180A31 #301564 #481F97 #6029CA #8354DC

Accessibility & contrast

On white

10.95
#481F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#481F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F97
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F97#FFFFFF#000000##FFFFFF
##481F971.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#2C415B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #481f97;
/* rgb */ color: rgb(72, 31, 151);
/* oklch */ color: oklch(37.9% 0.179 290.8);
Tailwind
colors: {
  custom: {
    50: '#8460b7',
    500: '#481f97',
    950: '#000000',
  },
}
SCSS
$custom: #481f97;
$custom-light: #8460b7;
$custom-dark: #000000;
JSON
{
  "hex": "#481f97",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 260.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37928,
    "c": 0.17853,
    "h": 290.8
  },
  "luminance": 0.04592
}

Semantic roles & 50–950 ramp

primary
#481F97
secondary
#9ABF52
accent
#E93FAF
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #481F97

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

Preview Lab → · Contrast checker → · Palette generator →

#481F97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva