#482198#482198

#482198 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.178 H 290.3°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#482198
RGBrgb(72, 33, 152)
HSLhsl(260, 64%, 36%)
HSVhsv(260, 78%, 60%)
CMYKcmyk(52.6%, 78.3%, 0%, 40.4%)
CIE-LABlab(25.96, 46.05, -58.01)
CIE-LCHlch(25.96, 74.07, 308.44°)
OKLaboklab(38.25% 0.0615 -0.1667)
OKLCHoklch(38.25% 0.178 290.3)
XYZxyz(8.8822, 4.7320, 30.1450)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482198 #719821
analogous
#213698 #482198 #842198
triadic
#482198 #984821 #219848
tetradic
#482198 #982136 #719821 #219884
square
#482198 #982136 #719821 #219884
split-complementary
#482198 #988421 #369821
monochromatic
#180B33 #301666 #482198 #602CCA #8359DB

Accessibility & contrast

On white

10.79
#482198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#482198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482198
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482198#FFFFFF#000000##FFFFFF
##4821981.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409B
Deuteranopia (green-blind)
#003B96
Tritanopia (blue-blind)
#2B435C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #482198;
/* rgb */ color: rgb(72, 33, 152);
/* oklch */ color: oklch(38.3% 0.178 290.3);
Tailwind
colors: {
  custom: {
    50: '#8461b7',
    500: '#482198',
    950: '#000000',
  },
}
SCSS
$custom: #482198;
$custom-light: #8461b7;
$custom-dark: #000000;
JSON
{
  "hex": "#482198",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 259.664,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3825,
    "c": 0.17771,
    "h": 290.3
  },
  "luminance": 0.04732
}

Semantic roles & 50–950 ramp

primary
#482198
secondary
#9CBF56
accent
#E740B1
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #482198

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

Preview Lab → · Contrast checker → · Palette generator →

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