#482174#482174

#482174 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.135 H 301.1°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#482174
RGBrgb(72, 33, 116)
HSLhsl(268, 56%, 29%)
HSVhsv(268, 72%, 45%)
CMYKcmyk(37.9%, 71.6%, 0%, 54.5%)
CIE-LABlab(22.75, 36.07, -40.69)
CIE-LCHlch(22.75, 54.37, 311.56°)
OKLaboklab(34.99% 0.07 -0.1159)
OKLCHoklch(34.99% 0.135 301.1)
XYZxyz(6.3680, 3.7263, 16.9034)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482174 #4D7421
analogous
#212374 #482174 #722174
triadic
#482174 #744821 #217448
tetradic
#482174 #742123 #4D7421 #217472
square
#482174 #742123 #4D7421 #217472
split-complementary
#482174 #747221 #237421
monochromatic
#0F0718 #2A1344 #482174 #662FA4 #8445CA

Accessibility & contrast

On white

12.03
#482174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#482174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482174
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482174#FFFFFF#000000##FFFFFF
##4821741.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#003672
Tritanopia (blue-blind)
#3F3447
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #482174;
/* rgb */ color: rgb(72, 33, 116);
/* oklch */ color: oklch(35.0% 0.135 301.1);
Tailwind
colors: {
  custom: {
    50: '#7f5f9d',
    500: '#482174',
    950: '#000000',
  },
}
SCSS
$custom: #482174;
$custom-light: #7f5f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#482174",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 268.193,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3499,
    "c": 0.13538,
    "h": 301.1
  },
  "luminance": 0.03726
}

Semantic roles & 50–950 ramp

primary
#482174
secondary
#7BA749
accent
#DF4998
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #482174

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

Preview Lab → · Contrast checker → · Palette generator →

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