#481174#481174

#481174 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.2% C 0.154 H 303.8°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#481174
RGBrgb(72, 17, 116)
HSLhsl(273, 74%, 26%)
HSVhsv(273, 85%, 45%)
CMYKcmyk(37.9%, 85.3%, 0%, 54.5%)
CIE-LABlab(20.20, 43.32, -44.83)
CIE-LCHlch(20.20, 62.34, 314.02°)
OKLaboklab(33.2% 0.0855 -0.1279)
OKLCHoklch(33.2% 0.154 303.8)
XYZxyz(6.0246, 3.0396, 16.7889)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481174 #3D7411
analogous
#161174 #481174 #74116E
triadic
#481174 #744811 #117448
tetradic
#481174 #741611 #3D7411 #116E74
square
#481174 #741611 #3D7411 #116E74
split-complementary
#481174 #6E7411 #117416
monochromatic
#11041B #27093F #481174 #6919A9 #8A21DE

Accessibility & contrast

On white

13.06
#481174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#481174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481174
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481174#FFFFFF#000000##FFFFFF
##4811741.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#3F2D44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #481174;
/* rgb */ color: rgb(72, 17, 116);
/* oklch */ color: oklch(33.2% 0.154 303.8);
Tailwind
colors: {
  custom: {
    50: '#80589d',
    500: '#481174',
    950: '#000000',
  },
}
SCSS
$custom: #481174;
$custom-light: #80589d;
$custom-dark: #000000;
JSON
{
  "hex": "#481174",
  "rgb": {
    "r": 72,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 273.333,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33198,
    "c": 0.15388,
    "h": 303.8
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#481174
secondary
#6AAB36
accent
#F1378A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481174

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

Preview Lab → · Contrast checker → · Palette generator →

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