#482188#482188

#482188 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.159 H 294.5°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#482188
RGBrgb(72, 33, 136)
HSLhsl(263, 61%, 33%)
HSVhsv(263, 76%, 53%)
CMYKcmyk(47.1%, 75.7%, 0%, 46.7%)
CIE-LABlab(24.46, 41.58, -50.56)
CIE-LCHlch(24.46, 65.46, 309.43°)
OKLaboklab(36.74% 0.0659 -0.1449)
OKLCHoklch(36.74% 0.159 294.5)
XYZxyz(7.6591, 4.2428, 23.7032)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482188 #618821
analogous
#212E88 #482188 #7B2188
triadic
#482188 #884821 #218848
tetradic
#482188 #88212E #618821 #21887B
square
#482188 #88212E #618821 #21887B
split-complementary
#482188 #887B21 #2E8821
monochromatic
#140925 #2E1557 #482188 #622DB9 #824FD4

Accessibility & contrast

On white

11.36
#482188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#482188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482188
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482188#FFFFFF#000000##FFFFFF
##4821881.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#353C53
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #482188;
/* rgb */ color: rgb(72, 33, 136);
/* oklch */ color: oklch(36.7% 0.159 294.5);
Tailwind
colors: {
  custom: {
    50: '#8260ac',
    500: '#482188',
    950: '#000000',
  },
}
SCSS
$custom: #482188;
$custom-light: #8260ac;
$custom-dark: #000000;
JSON
{
  "hex": "#482188",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 262.718,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3674,
    "c": 0.15915,
    "h": 294.5
  },
  "luminance": 0.04243
}

Semantic roles & 50–950 ramp

primary
#482188
secondary
#8FB84D
accent
#E444A7
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #482188

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

Preview Lab → · Contrast checker → · Palette generator →

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