#481774#481774

#481774 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.148 H 303.0°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#481774
RGBrgb(72, 23, 116)
HSLhsl(272, 67%, 27%)
HSVhsv(272, 80%, 45%)
CMYKcmyk(37.9%, 80.2%, 0%, 54.5%)
CIE-LABlab(21.02, 40.93, -43.49)
CIE-LCHlch(21.02, 59.72, 313.27°)
OKLaboklab(33.77% 0.0804 -0.124)
OKLCHoklch(33.77% 0.148 303)
XYZxyz(6.1305, 3.2515, 16.8242)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481774 #437417
analogous
#1A1774 #481774 #741771
triadic
#481774 #744817 #177448
tetradic
#481774 #741A17 #437417 #177174
square
#481774 #741A17 #437417 #177174
split-complementary
#481774 #717417 #17741A
monochromatic
#10051A #280D41 #481774 #6821A7 #8730D6

Accessibility & contrast

On white

12.73
#481774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#481774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481774
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481774#FFFFFF#000000##FFFFFF
##4817741.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#3F2F45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #481774;
/* rgb */ color: rgb(72, 23, 116);
/* oklch */ color: oklch(33.8% 0.148 303.0);
Tailwind
colors: {
  custom: {
    50: '#805a9d',
    500: '#481774',
    950: '#000000',
  },
}
SCSS
$custom: #481774;
$custom-light: #805a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#481774",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 271.613,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33771,
    "c": 0.14784,
    "h": 303
  },
  "luminance": 0.03251
}

Semantic roles & 50–950 ramp

primary
#481774
secondary
#70A93D
accent
#EA3E8F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481774

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

Preview Lab → · Contrast checker → · Palette generator →

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