#481F95#481F95

#481F95 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.176 H 291.3°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#481F95
RGBrgb(72, 31, 149)
HSLhsl(261, 66%, 35%)
HSVhsv(261, 79%, 58%)
CMYKcmyk(51.7%, 79.2%, 0%, 41.6%)
CIE-LABlab(25.34, 46.14, -57.17)
CIE-LCHlch(25.34, 73.47, 308.90°)
OKLaboklab(37.73% 0.064 -0.1643)
OKLCHoklch(37.73% 0.176 291.3)
XYZxyz(8.5857, 4.5273, 28.8494)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F95 #6C951F
analogous
#1F3195 #481F95 #831F95
triadic
#481F95 #95481F #1F9548
tetradic
#481F95 #951F31 #6C951F #1F9583
square
#481F95 #951F31 #6C951F #1F9583
split-complementary
#481F95 #95831F #31951F
monochromatic
#170A30 #301462 #481F95 #602AC8 #8253DB

Accessibility & contrast

On white

11.02
#481F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#481F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F95
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F95#FFFFFF#000000##FFFFFF
##481F951.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#2D405A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #481f95;
/* rgb */ color: rgb(72, 31, 149);
/* oklch */ color: oklch(37.7% 0.176 291.3);
Tailwind
colors: {
  custom: {
    50: '#8460b5',
    500: '#481f95',
    950: '#000000',
  },
}
SCSS
$custom: #481f95;
$custom-light: #8460b5;
$custom-dark: #000000;
JSON
{
  "hex": "#481f95",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 260.847,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37733,
    "c": 0.17627,
    "h": 291.3
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#481F95
secondary
#99BF51
accent
#E93FAE
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #481F95

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

Preview Lab → · Contrast checker → · Palette generator →

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