#482897#482897

#482897 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.169 H 289.3°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#482897
RGBrgb(72, 40, 151)
HSLhsl(257, 58%, 37%)
HSVhsv(257, 74%, 59%)
CMYKcmyk(52.3%, 73.5%, 0%, 40.8%)
CIE-LABlab(27.10, 42.25, -55.52)
CIE-LCHlch(27.10, 69.77, 307.27°)
OKLaboklab(39.03% 0.0559 -0.1595)
OKLCHoklch(39.03% 0.169 289.3)
XYZxyz(9.0156, 5.1293, 29.7872)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482897 #779728
analogous
#284097 #482897 #7F2897
triadic
#482897 #974828 #289748
tetradic
#482897 #972840 #779728 #28977F
square
#482897 #972840 #779728 #28977F
split-complementary
#482897 #977F28 #409728
monochromatic
#1A0E36 #311B67 #482897 #5F35C7 #8564D6

Accessibility & contrast

On white

10.37
#482897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#482897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482897
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482897#FFFFFF#000000##FFFFFF
##4828971.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.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: #482897;
/* rgb */ color: rgb(72, 40, 151);
/* oklch */ color: oklch(39.0% 0.169 289.3);
Tailwind
colors: {
  custom: {
    50: '#8365b7',
    500: '#482897',
    950: '#000000',
  },
}
SCSS
$custom: #482897;
$custom-light: #8365b7;
$custom-dark: #000000;
JSON
{
  "hex": "#482897",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 257.297,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39026,
    "c": 0.16902,
    "h": 289.3
  },
  "luminance": 0.0513
}

Semantic roles & 50–950 ramp

primary
#482897
secondary
#A1BC5F
accent
#E146B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #482897

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

Preview Lab → · Contrast checker → · Palette generator →

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