#482197#482197

#482197 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.177 H 290.5°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#482197
RGBrgb(72, 33, 151)
HSLhsl(260, 64%, 36%)
HSVhsv(260, 78%, 59%)
CMYKcmyk(52.3%, 78.1%, 0%, 40.8%)
CIE-LABlab(25.86, 45.77, -57.56)
CIE-LCHlch(25.86, 73.53, 308.49°)
OKLaboklab(38.15% 0.0618 -0.1654)
OKLCHoklch(38.15% 0.177 290.5)
XYZxyz(8.8007, 4.6994, 29.7155)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482197 #709721
analogous
#213597 #482197 #832197
triadic
#482197 #974821 #219748
tetradic
#482197 #972135 #709721 #219783
square
#482197 #972135 #709721 #219783
split-complementary
#482197 #978321 #359721
monochromatic
#180B33 #301665 #482197 #602CC9 #8358DA

Accessibility & contrast

On white

10.82
#482197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#482197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482197
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482197#FFFFFF#000000##FFFFFF
##4821971.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#2C425B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #482197;
/* rgb */ color: rgb(72, 33, 151);
/* oklch */ color: oklch(38.2% 0.177 290.5);
Tailwind
colors: {
  custom: {
    50: '#8461b7',
    500: '#482197',
    950: '#000000',
  },
}
SCSS
$custom: #482197;
$custom-light: #8461b7;
$custom-dark: #000000;
JSON
{
  "hex": "#482197",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 259.831,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38153,
    "c": 0.17656,
    "h": 290.5
  },
  "luminance": 0.047
}

Semantic roles & 50–950 ramp

primary
#482197
secondary
#9CBE55
accent
#E741B0
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #482197

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

Preview Lab → · Contrast checker → · Palette generator →

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