#481FA7#481FA7

#481FA7 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.196 H 287.2°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#481FA7
RGBrgb(72, 31, 167)
HSLhsl(258, 69%, 39%)
HSVhsv(258, 81%, 65%)
CMYKcmyk(56.9%, 81.4%, 0%, 34.5%)
CIE-LABlab(27.15, 51.11, -65.18)
CIE-LCHlch(27.15, 82.83, 308.10°)
OKLaboklab(39.53% 0.0581 -0.1877)
OKLCHoklch(39.53% 0.196 287.2)
XYZxyz(10.1354, 5.1472, 37.0112)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481FA7 #7EA71F
analogous
#1F3AA7 #481FA7 #8C1FA7
triadic
#481FA7 #A7481F #1FA748
tetradic
#481FA7 #A71F3A #7EA71F #1FA78C
square
#481FA7 #A71F3A #7EA71F #1FA78C
split-complementary
#481FA7 #A78C1F #3AA71F
monochromatic
#1B0C40 #321573 #481FA7 #5F2BD8 #865FE1

Accessibility & contrast

On white

10.35
#481FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#481FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481FA7
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481FA7#FFFFFF#000000##FFFFFF
##481FA71.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#1B4864
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #481fa7;
/* rgb */ color: rgb(72, 31, 167);
/* oklch */ color: oklch(39.5% 0.196 287.2);
Tailwind
colors: {
  custom: {
    50: '#8761c2',
    500: '#481fa7',
    950: '#000000',
  },
}
SCSS
$custom: #481fa7;
$custom-light: #8761c2;
$custom-dark: #000000;
JSON
{
  "hex": "#481fa7",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 258.088,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39531,
    "c": 0.19646,
    "h": 287.2
  },
  "luminance": 0.05148
}

Semantic roles & 50–950 ramp

primary
#481FA7
secondary
#A6C65C
accent
#EC3CB7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #481FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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