#481173#481173

#481173 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.153 H 304.2°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#481173
RGBrgb(72, 17, 115)
HSLhsl(274, 74%, 26%)
HSVhsv(274, 85%, 45%)
CMYKcmyk(37.4%, 85.2%, 0%, 54.9%)
CIE-LABlab(20.11, 43.07, -44.34)
CIE-LCHlch(20.11, 61.81, 314.17°)
OKLaboklab(33.11% 0.0858 -0.1265)
OKLCHoklch(33.11% 0.153 304.2)
XYZxyz(5.9667, 3.0164, 16.4842)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481173 #3C7311
analogous
#171173 #481173 #73116D
triadic
#481173 #734811 #117348
tetradic
#481173 #731711 #3C7311 #116D73
square
#481173 #731711 #3C7311 #116D73
split-complementary
#481173 #6D7311 #117317
monochromatic
#11041B #27093E #481173 #6919A8 #8B21DE

Accessibility & contrast

On white

13.10
#481173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#481173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481173
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481173#FFFFFF#000000##FFFFFF
##4811731.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#3F2C43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #481173;
/* rgb */ color: rgb(72, 17, 115);
/* oklch */ color: oklch(33.1% 0.153 304.2);
Tailwind
colors: {
  custom: {
    50: '#80579c',
    500: '#481173',
    950: '#000000',
  },
}
SCSS
$custom: #481173;
$custom-light: #80579c;
$custom-dark: #000000;
JSON
{
  "hex": "#481173",
  "rgb": {
    "r": 72,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 273.673,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33106,
    "c": 0.15286,
    "h": 304.2
  },
  "luminance": 0.03016
}

Semantic roles & 50–950 ramp

primary
#481173
secondary
#69AA36
accent
#F13789
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481173

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

Preview Lab → · Contrast checker → · Palette generator →

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