#482187#482187

#482187 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.158 H 294.8°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#482187
RGBrgb(72, 33, 135)
HSLhsl(263, 61%, 33%)
HSVhsv(263, 76%, 53%)
CMYKcmyk(46.7%, 75.6%, 0%, 47.1%)
CIE-LABlab(24.37, 41.30, -50.08)
CIE-LCHlch(24.37, 64.91, 309.51°)
OKLaboklab(36.65% 0.0662 -0.1435)
OKLCHoklch(36.65% 0.158 294.8)
XYZxyz(7.5883, 4.2145, 23.3306)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482187 #608721
analogous
#212D87 #482187 #7B2187
triadic
#482187 #874821 #218748
tetradic
#482187 #87212D #608721 #21877B
square
#482187 #87212D #608721 #21877B
split-complementary
#482187 #877B21 #2D8721
monochromatic
#140925 #2E1556 #482187 #622DB8 #824FD4

Accessibility & contrast

On white

11.39
#482187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#482187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482187
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482187#FFFFFF#000000##FFFFFF
##4821871.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #482187;
/* rgb */ color: rgb(72, 33, 135);
/* oklch */ color: oklch(36.6% 0.158 294.8);
Tailwind
colors: {
  custom: {
    50: '#8260ab',
    500: '#482187',
    950: '#000000',
  },
}
SCSS
$custom: #482187;
$custom-light: #8260ab;
$custom-dark: #000000;
JSON
{
  "hex": "#482187",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 262.941,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36648,
    "c": 0.15799,
    "h": 294.8
  },
  "luminance": 0.04215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #482187

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

Preview Lab → · Contrast checker → · Palette generator →

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