#482287#482287

#482287 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.157 H 294.6°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#482287
RGBrgb(72, 34, 135)
HSLhsl(263, 60%, 33%)
HSVhsv(263, 75%, 53%)
CMYKcmyk(46.7%, 74.8%, 0%, 47.1%)
CIE-LABlab(24.55, 40.79, -49.79)
CIE-LCHlch(24.55, 64.36, 309.33°)
OKLaboklab(36.78% 0.0652 -0.1426)
OKLCHoklch(36.78% 0.157 294.6)
XYZxyz(7.6165, 4.2708, 23.3400)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482287 #618722
analogous
#222F87 #482287 #7A2287
triadic
#482287 #874822 #228748
tetradic
#482287 #87222F #618722 #22877A
square
#482287 #87222F #618722 #22877A
split-complementary
#482287 #877A22 #2F8722
monochromatic
#140925 #2E1656 #482287 #622EB8 #8250D3

Accessibility & contrast

On white

11.33
#482287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #482287
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482287#FFFFFF#000000##FFFFFF
##4822871.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#363C52
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #482287;
/* rgb */ color: rgb(72, 34, 135);
/* oklch */ color: oklch(36.8% 0.157 294.6);
Tailwind
colors: {
  custom: {
    50: '#8161ab',
    500: '#482287',
    950: '#000000',
  },
}
SCSS
$custom: #482287;
$custom-light: #8161ab;
$custom-dark: #000000;
JSON
{
  "hex": "#482287",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 262.574,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36775,
    "c": 0.15682,
    "h": 294.6
  },
  "luminance": 0.04271
}

Semantic roles & 50–950 ramp

primary
#482287
secondary
#8FB74E
accent
#E345A7
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #482287

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

Preview Lab → · Contrast checker → · Palette generator →

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