#481261#481261

#481261 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.133 H 312.3°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#481261
RGBrgb(72, 18, 97)
HSLhsl(281, 69%, 23%)
HSVhsv(281, 81%, 38%)
CMYKcmyk(25.8%, 81.4%, 0%, 62%)
CIE-LABlab(18.69, 38.41, -34.89)
CIE-LCHlch(18.69, 51.89, 317.75°)
OKLaboklab(31.62% 0.0898 -0.0987)
OKLCHoklch(31.62% 0.133 312.3)
XYZxyz(5.0461, 2.6735, 11.5572)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481261 #2B6112
analogous
#211261 #481261 #611252
triadic
#481261 #614812 #126148
tetradic
#481261 #612112 #2B6112 #125261
square
#481261 #612112 #2B6112 #125261
split-complementary
#481261 #526112 #126121
monochromatic
#13051A #22082D #481261 #6E1C95 #9525C8

Accessibility & contrast

On white

13.68
#481261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481261
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481261#FFFFFF#000000##FFFFFF
##4812611.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B63
Deuteranopia (green-blind)
#062F5F
Tritanopia (blue-blind)
#452539
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #481261;
/* rgb */ color: rgb(72, 18, 97);
/* oklch */ color: oklch(31.6% 0.133 312.3);
Tailwind
colors: {
  custom: {
    50: '#7e578e',
    500: '#481261',
    950: '#000000',
  },
}
SCSS
$custom: #481261;
$custom-light: #7e578e;
$custom-dark: #000000;
JSON
{
  "hex": "#481261",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 97
  },
  "hsl": {
    "h": 281.013,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31625,
    "c": 0.13345,
    "h": 312.3
  },
  "luminance": 0.02673
}

Semantic roles & 50–950 ramp

primary
#481261
secondary
#559936
accent
#EC3C74
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #481261

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

Preview Lab → · Contrast checker → · Palette generator →

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