#481255#481255

#481255 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.7% C 0.121 H 319.0°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#481255
RGBrgb(72, 18, 85)
HSLhsl(288, 65%, 20%)
HSVhsv(288, 79%, 33%)
CMYKcmyk(15.3%, 78.8%, 0%, 66.7%)
CIE-LABlab(17.77, 35.72, -28.35)
CIE-LCHlch(17.77, 45.60, 321.56°)
OKLaboklab(30.68% 0.0916 -0.0795)
OKLCHoklch(30.68% 0.121 319)
XYZxyz(4.5283, 2.4664, 8.8301)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481255 #1F5512
analogous
#261255 #481255 #551241
triadic
#481255 #554812 #125548
tetradic
#481255 #552612 #1F5512 #124155
square
#481255 #552612 #1F5512 #124155
split-complementary
#481255 #415512 #125526
monochromatic
#150519 #1D0722 #481255 #731D88 #9E27BA

Accessibility & contrast

On white

14.06
#481255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#481255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481255
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481255#FFFFFF#000000##FFFFFF
##4812551.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002857
Deuteranopia (green-blind)
#172D53
Tritanopia (blue-blind)
#481F32
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #481255;
/* rgb */ color: rgb(72, 18, 85);
/* oklch */ color: oklch(30.7% 0.121 319.0);
Tailwind
colors: {
  custom: {
    50: '#7e5685',
    500: '#481255',
    950: '#000000',
  },
}
SCSS
$custom: #481255;
$custom-light: #7e5685;
$custom-dark: #000000;
JSON
{
  "hex": "#481255",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 85
  },
  "hsl": {
    "h": 288.358,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30682,
    "c": 0.12132,
    "h": 319
  },
  "luminance": 0.02466
}

Semantic roles & 50–950 ramp

primary
#481255
secondary
#468E35
accent
#E84060
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #481255

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

Preview Lab → · Contrast checker → · Palette generator →

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