#481FA6#481FA6

#481FA6 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.195 H 287.4°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#481FA6
RGBrgb(72, 31, 166)
HSLhsl(258, 69%, 39%)
HSVhsv(258, 81%, 65%)
CMYKcmyk(56.6%, 81.3%, 0%, 34.9%)
CIE-LABlab(27.05, 50.84, -64.75)
CIE-LCHlch(27.05, 82.32, 308.14°)
OKLaboklab(39.43% 0.0584 -0.1864)
OKLCHoklch(39.43% 0.195 287.4)
XYZxyz(10.0434, 5.1103, 36.5262)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481FA6 #7DA61F
analogous
#1F39A6 #481FA6 #8B1FA6
triadic
#481FA6 #A6481F #1FA648
tetradic
#481FA6 #A61F39 #7DA61F #1FA68B
square
#481FA6 #A61F39 #7DA61F #1FA68B
split-complementary
#481FA6 #A68B1F #39A61F
monochromatic
#1B0C3F #321572 #481FA6 #5F2BD7 #865EE1

Accessibility & contrast

On white

10.38
#481FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#481FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481FA6
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481FA6#FFFFFF#000000##FFFFFF
##481FA61.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#1D4863
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #481fa6;
/* rgb */ color: rgb(72, 31, 166);
/* oklch */ color: oklch(39.4% 0.195 287.4);
Tailwind
colors: {
  custom: {
    50: '#8661c2',
    500: '#481fa6',
    950: '#000000',
  },
}
SCSS
$custom: #481fa6;
$custom-light: #8661c2;
$custom-dark: #000000;
JSON
{
  "hex": "#481fa6",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 258.222,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39429,
    "c": 0.19535,
    "h": 287.4
  },
  "luminance": 0.05111
}

Semantic roles & 50–950 ramp

primary
#481FA6
secondary
#A5C55B
accent
#EB3CB6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #481FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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