#481771#481771

#481771 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.145 H 304.2°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#481771
RGBrgb(72, 23, 113)
HSLhsl(273, 66%, 27%)
HSVhsv(273, 80%, 44%)
CMYKcmyk(36.3%, 79.6%, 0%, 55.7%)
CIE-LABlab(20.76, 40.17, -41.98)
CIE-LCHlch(20.76, 58.11, 313.74°)
OKLaboklab(33.51% 0.0812 -0.1196)
OKLCHoklch(33.51% 0.145 304.2)
XYZxyz(5.9588, 3.1828, 15.9200)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481771 #407117
analogous
#1B1771 #481771 #71176D
triadic
#481771 #714817 #177148
tetradic
#481771 #711B17 #407117 #176D71
square
#481771 #711B17 #407117 #176D71
split-complementary
#481771 #6D7117 #17711B
monochromatic
#100519 #280D3E #481771 #6821A4 #892ED4

Accessibility & contrast

On white

12.83
#481771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481771
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481771#FFFFFF#000000##FFFFFF
##4817711.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #481771;
/* rgb */ color: rgb(72, 23, 113);
/* oklch */ color: oklch(33.5% 0.145 304.2);
Tailwind
colors: {
  custom: {
    50: '#805a9b',
    500: '#481771',
    950: '#000000',
  },
}
SCSS
$custom: #481771;
$custom-light: #805a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#481771",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 272.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33505,
    "c": 0.14459,
    "h": 304.2
  },
  "luminance": 0.03183
}

Semantic roles & 50–950 ramp

primary
#481771
secondary
#6DA73D
accent
#E93F8C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481771

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

Preview Lab → · Contrast checker → · Palette generator →

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