#482371#482371

#482371 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.0% C 0.129 H 301.9°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#482371
RGBrgb(72, 35, 113)
HSLhsl(268, 53%, 29%)
HSVhsv(268, 69%, 44%)
CMYKcmyk(36.3%, 69%, 0%, 55.7%)
CIE-LABlab(22.90, 34.17, -38.51)
CIE-LCHlch(22.90, 51.48, 311.58°)
OKLaboklab(35.03% 0.0681 -0.1095)
OKLCHoklch(35.03% 0.129 301.9)
XYZxyz(6.2534, 3.7720, 16.0182)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482371 #4C7123
analogous
#232571 #482371 #6F2371
triadic
#482371 #714823 #237148
tetradic
#482371 #712325 #4C7123 #23716F
square
#482371 #712325 #4C7123 #23716F
split-complementary
#482371 #716F23 #257123
monochromatic
#0F0717 #2A1542 #482371 #6631A0 #8448C6

Accessibility & contrast

On white

11.97
#482371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #482371
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482371#FFFFFF#000000##FFFFFF
##4823711.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#02366F
Tritanopia (blue-blind)
#403446
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #482371;
/* rgb */ color: rgb(72, 35, 113);
/* oklch */ color: oklch(35.0% 0.129 301.9);
Tailwind
colors: {
  custom: {
    50: '#7f619a',
    500: '#482371',
    950: '#000000',
  },
}
SCSS
$custom: #482371;
$custom-light: #7f619a;
$custom-dark: #000000;
JSON
{
  "hex": "#482371",
  "rgb": {
    "r": 72,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 268.462,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35028,
    "c": 0.1289,
    "h": 301.9
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#482371
secondary
#7AA44C
accent
#DC4C98
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #482371

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

Preview Lab → · Contrast checker → · Palette generator →

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