#482797#482797

#482797 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.170 H 289.5°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#482797
RGBrgb(72, 39, 151)
HSLhsl(258, 59%, 37%)
HSVhsv(258, 74%, 59%)
CMYKcmyk(52.3%, 74.2%, 0%, 40.8%)
CIE-LABlab(26.91, 42.78, -55.83)
CIE-LCHlch(26.91, 70.34, 307.46°)
OKLaboklab(38.89% 0.0568 -0.1604)
OKLCHoklch(38.89% 0.17 289.5)
XYZxyz(8.9823, 5.0627, 29.7761)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482797 #769727
analogous
#273E97 #482797 #802797
triadic
#482797 #974827 #279748
tetradic
#482797 #97273E #769727 #279780
square
#482797 #97273E #769727 #279780
split-complementary
#482797 #978027 #3E9727
monochromatic
#1A0E36 #311A66 #482797 #5F34C8 #8462D6

Accessibility & contrast

On white

10.43
#482797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#482797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482797
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482797#FFFFFF#000000##FFFFFF
##4827971.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#2B455D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #482797;
/* rgb */ color: rgb(72, 39, 151);
/* oklch */ color: oklch(38.9% 0.170 289.5);
Tailwind
colors: {
  custom: {
    50: '#8364b7',
    500: '#482797',
    950: '#000000',
  },
}
SCSS
$custom: #482797;
$custom-light: #8364b7;
$custom-dark: #000000;
JSON
{
  "hex": "#482797",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 257.679,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38893,
    "c": 0.17015,
    "h": 289.5
  },
  "luminance": 0.05063
}

Semantic roles & 50–950 ramp

primary
#482797
secondary
#A0BC5E
accent
#E246B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #482797

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

Preview Lab → · Contrast checker → · Palette generator →

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