#481574#481574

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

Color values

HEX#481574
RGBrgb(72, 21, 116)
HSLhsl(272, 69%, 27%)
HSVhsv(272, 82%, 45%)
CMYKcmyk(37.9%, 81.9%, 0%, 54.5%)
CIE-LABlab(20.73, 41.78, -43.96)
CIE-LCHlch(20.73, 60.65, 313.54°)
OKLaboklab(33.57% 0.0822 -0.1254)
OKLCHoklch(33.57% 0.15 303.3)
XYZxyz(6.0923, 3.1750, 16.8115)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481574 #417415
analogous
#191574 #481574 #741571
triadic
#481574 #744815 #157448
tetradic
#481574 #741915 #417415 #157174
square
#481574 #741915 #417415 #157174
split-complementary
#481574 #717415 #157419
monochromatic
#10051A #280C40 #481574 #681EA8 #882BD9

Accessibility & contrast

On white

12.84
#481574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481574
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481574#FFFFFF#000000##FFFFFF
##4815741.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#3F2E44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #481574;
/* rgb */ color: rgb(72, 21, 116);
/* oklch */ color: oklch(33.6% 0.150 303.3);
Tailwind
colors: {
  custom: {
    50: '#80599d',
    500: '#481574',
    950: '#000000',
  },
}
SCSS
$custom: #481574;
$custom-light: #80599d;
$custom-dark: #000000;
JSON
{
  "hex": "#481574",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 272.211,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33567,
    "c": 0.14998,
    "h": 303.3
  },
  "luminance": 0.03175
}

Semantic roles & 50–950 ramp

primary
#481574
secondary
#6EAA3B
accent
#EC3C8D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481574

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

Preview Lab → · Contrast checker → · Palette generator →

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