#481674#481674

#481674 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.149 H 303.1°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#481674
RGBrgb(72, 22, 116)
HSLhsl(272, 68%, 27%)
HSVhsv(272, 81%, 45%)
CMYKcmyk(37.9%, 81%, 0%, 54.5%)
CIE-LABlab(20.88, 41.36, -43.73)
CIE-LCHlch(20.88, 60.19, 313.40°)
OKLaboklab(33.67% 0.0814 -0.1247)
OKLCHoklch(33.67% 0.149 303.1)
XYZxyz(6.1110, 3.2125, 16.8177)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481674 #427416
analogous
#191674 #481674 #741671
triadic
#481674 #744816 #167448
tetradic
#481674 #741916 #427416 #167174
square
#481674 #741916 #427416 #167174
split-complementary
#481674 #717416 #167419
monochromatic
#10051A #280C41 #481674 #6820A7 #882DD7

Accessibility & contrast

On white

12.79
#481674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481674
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481674#FFFFFF#000000##FFFFFF
##4816741.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #481674;
/* rgb */ color: rgb(72, 22, 116);
/* oklch */ color: oklch(33.7% 0.149 303.1);
Tailwind
colors: {
  custom: {
    50: '#805a9d',
    500: '#481674',
    950: '#000000',
  },
}
SCSS
$custom: #481674;
$custom-light: #805a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#481674",
  "rgb": {
    "r": 72,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 271.915,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33667,
    "c": 0.14893,
    "h": 303.1
  },
  "luminance": 0.03212
}

Semantic roles & 50–950 ramp

primary
#481674
secondary
#6FAA3C
accent
#EB3D8E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481674

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

Preview Lab → · Contrast checker → · Palette generator →

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