#482387#482387

#482387 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.156 H 294.4°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#482387
RGBrgb(72, 35, 135)
HSLhsl(262, 59%, 33%)
HSVhsv(262, 74%, 53%)
CMYKcmyk(46.7%, 74.1%, 0%, 47.1%)
CIE-LABlab(24.73, 40.28, -49.49)
CIE-LCHlch(24.73, 63.81, 309.14°)
OKLaboklab(36.9% 0.0642 -0.1417)
OKLCHoklch(36.9% 0.156 294.4)
XYZxyz(7.6455, 4.3288, 23.3497)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482387 #628723
analogous
#233087 #482387 #7A2387
triadic
#482387 #874823 #238748
tetradic
#482387 #872330 #628723 #23877A
square
#482387 #872330 #628723 #23877A
split-complementary
#482387 #877A23 #308723
monochromatic
#140A26 #2E1656 #482387 #6230B8 #8252D2

Accessibility & contrast

On white

11.26
#482387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#482387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482387
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482387#FFFFFF#000000##FFFFFF
##4823871.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#363D53
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #482387;
/* rgb */ color: rgb(72, 35, 135);
/* oklch */ color: oklch(36.9% 0.156 294.4);
Tailwind
colors: {
  custom: {
    50: '#8161ab',
    500: '#482387',
    950: '#000000',
  },
}
SCSS
$custom: #482387;
$custom-light: #8161ab;
$custom-dark: #000000;
JSON
{
  "hex": "#482387",
  "rgb": {
    "r": 72,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 262.2,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36904,
    "c": 0.15562,
    "h": 294.4
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#482387
secondary
#90B650
accent
#E246A8
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #482387

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

Preview Lab → · Contrast checker → · Palette generator →

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