#481F8F#481F8F

#481F8F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.169 H 292.8°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#481F8F
RGBrgb(72, 31, 143)
HSLhsl(262, 64%, 34%)
HSVhsv(262, 78%, 56%)
CMYKcmyk(49.7%, 78.3%, 0%, 43.9%)
CIE-LABlab(24.77, 44.48, -54.41)
CIE-LCHlch(24.77, 70.28, 309.27°)
OKLaboklab(37.16% 0.0658 -0.1562)
OKLCHoklch(37.16% 0.169 292.8)
XYZxyz(8.1190, 4.3406, 26.3913)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F8F #668F1F
analogous
#1F2E8F #481F8F #801F8F
triadic
#481F8F #8F481F #1F8F48
tetradic
#481F8F #8F1F2E #668F1F #1F8F80
square
#481F8F #8F1F2E #668F1F #1F8F80
split-complementary
#481F8F #8F801F #2E8F1F
monochromatic
#15092A #2F145D #481F8F #612AC1 #824FD9

Accessibility & contrast

On white

11.24
#481F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#481F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F8F
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F8F#FFFFFF#000000##FFFFFF
##481F8F1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#313E56
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #481f8f;
/* rgb */ color: rgb(72, 31, 143);
/* oklch */ color: oklch(37.2% 0.169 292.8);
Tailwind
colors: {
  custom: {
    50: '#8360b1',
    500: '#481f8f',
    950: '#000000',
  },
}
SCSS
$custom: #481f8f;
$custom-light: #8360b1;
$custom-dark: #000000;
JSON
{
  "hex": "#481f8f",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 261.964,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37155,
    "c": 0.16944,
    "h": 292.8
  },
  "luminance": 0.04341
}

Semantic roles & 50–950 ramp

primary
#481F8F
secondary
#94BC4E
accent
#E740AA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #481F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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