#481161#481161

#481161 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.5% C 0.135 H 312.4°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#481161
RGBrgb(72, 17, 97)
HSLhsl(281, 70%, 22%)
HSVhsv(281, 82%, 38%)
CMYKcmyk(25.8%, 82.5%, 0%, 62%)
CIE-LABlab(18.55, 38.81, -35.11)
CIE-LCHlch(18.55, 52.34, 317.86°)
OKLaboklab(31.53% 0.0907 -0.0994)
OKLCHoklch(31.53% 0.135 312.4)
XYZxyz(5.0302, 2.6418, 11.5519)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481161 #2A6111
analogous
#201161 #481161 #611152
triadic
#481161 #614811 #116148
tetradic
#481161 #612011 #2A6111 #115261
square
#481161 #612011 #2A6111 #115261
split-complementary
#481161 #526111 #116120
monochromatic
#13051A #21082D #481161 #6F1A95 #9523C9

Accessibility & contrast

On white

13.74
#481161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#481161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481161
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481161#FFFFFF#000000##FFFFFF
##4811611.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B63
Deuteranopia (green-blind)
#052E5F
Tritanopia (blue-blind)
#452439
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #481161;
/* rgb */ color: rgb(72, 17, 97);
/* oklch */ color: oklch(31.5% 0.135 312.4);
Tailwind
colors: {
  custom: {
    50: '#7e568e',
    500: '#481161',
    950: '#000000',
  },
}
SCSS
$custom: #481161;
$custom-light: #7e568e;
$custom-dark: #000000;
JSON
{
  "hex": "#481161",
  "rgb": {
    "r": 72,
    "g": 17,
    "b": 97
  },
  "hsl": {
    "h": 281.25,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31528,
    "c": 0.13457,
    "h": 312.4
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#481161
secondary
#549934
accent
#ED3B73
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #481161

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

Preview Lab → · Contrast checker → · Palette generator →

#481161 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva