#482799#482799

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

Color values

HEX#482799
RGBrgb(72, 39, 153)
HSLhsl(257, 59%, 38%)
HSVhsv(257, 75%, 60%)
CMYKcmyk(52.9%, 74.5%, 0%, 40%)
CIE-LABlab(27.10, 43.36, -56.75)
CIE-LCHlch(27.10, 71.42, 307.38°)
OKLaboklab(39.08% 0.0564 -0.1631)
OKLCHoklch(39.08% 0.173 289.1)
XYZxyz(9.1461, 5.1282, 30.6387)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482799 #789927
analogous
#273F99 #482799 #812799
triadic
#482799 #994827 #279948
tetradic
#482799 #99273F #789927 #279981
square
#482799 #99273F #789927 #279981
split-complementary
#482799 #998127 #3F9927
monochromatic
#1A0E37 #311B68 #482799 #5F33CA #8563D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##482799#FFFFFF#000000##FFFFFF
##4827991.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)
#00429C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#2A465E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #482799;
/* rgb */ color: rgb(72, 39, 153);
/* oklch */ color: oklch(39.1% 0.173 289.1);
Tailwind
colors: {
  custom: {
    50: '#8465b8',
    500: '#482799',
    950: '#000000',
  },
}
SCSS
$custom: #482799;
$custom-light: #8465b8;
$custom-dark: #000000;
JSON
{
  "hex": "#482799",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 257.368,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3908,
    "c": 0.17255,
    "h": 289.1
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

primary
#482799
secondary
#A2BD5F
accent
#E345B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #482799

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

Preview Lab → · Contrast checker → · Palette generator →

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