#481772#481772

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

Color values

HEX#481772
RGBrgb(72, 23, 114)
HSLhsl(272, 66%, 27%)
HSVhsv(272, 80%, 45%)
CMYKcmyk(36.8%, 79.8%, 0%, 55.3%)
CIE-LABlab(20.85, 40.43, -42.49)
CIE-LCHlch(20.85, 58.65, 313.58°)
OKLaboklab(33.59% 0.081 -0.1211)
OKLCHoklch(33.59% 0.146 303.8)
XYZxyz(6.0154, 3.2054, 16.2181)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481772 #417217
analogous
#1B1772 #481772 #72176F
triadic
#481772 #724817 #177248
tetradic
#481772 #721B17 #417217 #176F72
square
#481772 #721B17 #417217 #176F72
split-complementary
#481772 #6F7217 #17721B
monochromatic
#100519 #280D3F #481772 #6821A5 #882ED5

Accessibility & contrast

On white

12.80
#481772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481772
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481772#FFFFFF#000000##FFFFFF
##4817721.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003175
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#402E44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #481772;
/* rgb */ color: rgb(72, 23, 114);
/* oklch */ color: oklch(33.6% 0.146 303.8);
Tailwind
colors: {
  custom: {
    50: '#805a9b',
    500: '#481772',
    950: '#000000',
  },
}
SCSS
$custom: #481772;
$custom-light: #805a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#481772",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 272.308,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33594,
    "c": 0.14567,
    "h": 303.8
  },
  "luminance": 0.03205
}

Semantic roles & 50–950 ramp

primary
#481772
secondary
#6EA83D
accent
#E93E8D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481772

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

Preview Lab → · Contrast checker → · Palette generator →

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