#481871#481871

#481871 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.143 H 304.0°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#481871
RGBrgb(72, 24, 113)
HSLhsl(272, 65%, 27%)
HSVhsv(272, 79%, 44%)
CMYKcmyk(36.3%, 78.8%, 0%, 55.7%)
CIE-LABlab(20.92, 39.73, -41.73)
CIE-LCHlch(20.92, 57.62, 313.59°)
OKLaboklab(33.62% 0.0803 -0.1189)
OKLCHoklch(33.62% 0.143 304)
XYZxyz(5.9791, 3.2233, 15.9267)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481871 #417118
analogous
#1C1871 #481871 #71186E
triadic
#481871 #714818 #187148
tetradic
#481871 #711C18 #417118 #186E71
square
#481871 #711C18 #417118 #186E71
split-complementary
#481871 #6E7118 #18711C
monochromatic
#100519 #280D3F #481871 #6823A3 #8830D3

Accessibility & contrast

On white

12.77
#481871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#481871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481871
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481871#FFFFFF#000000##FFFFFF
##4818711.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#402E43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #481871;
/* rgb */ color: rgb(72, 24, 113);
/* oklch */ color: oklch(33.6% 0.143 304.0);
Tailwind
colors: {
  custom: {
    50: '#7f5a9b',
    500: '#481871',
    950: '#000000',
  },
}
SCSS
$custom: #481871;
$custom-light: #7f5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#481871",
  "rgb": {
    "r": 72,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 272.36,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33615,
    "c": 0.14344,
    "h": 304
  },
  "luminance": 0.03223
}

Semantic roles & 50–950 ramp

primary
#481871
secondary
#6EA63E
accent
#E8408D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481871

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

Preview Lab → · Contrast checker → · Palette generator →

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