#482877#482877

#482877 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.129 H 298.3°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#482877
RGBrgb(72, 40, 119)
HSLhsl(264, 50%, 31%)
HSVhsv(264, 66%, 47%)
CMYKcmyk(39.5%, 66.4%, 0%, 53.3%)
CIE-LABlab(24.41, 32.99, -39.91)
CIE-LCHlch(24.41, 51.78, 309.58°)
OKLaboklab(36.26% 0.0613 -0.1136)
OKLCHoklch(36.26% 0.129 298.3)
XYZxyz(6.7602, 4.2271, 17.9089)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482877 #577728
analogous
#282F77 #482877 #6F2877
triadic
#482877 #774828 #287748
tetradic
#482877 #77282F #577728 #28776F
square
#482877 #77282F #577728 #28776F
split-complementary
#482877 #776F28 #2F7728
monochromatic
#11091B #2C1949 #482877 #6437A5 #8254C5

Accessibility & contrast

On white

11.38
#482877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#482877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482877
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482877#FFFFFF#000000##FFFFFF
##4828771.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#003975
Tritanopia (blue-blind)
#3D3A4B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #482877;
/* rgb */ color: rgb(72, 40, 119);
/* oklch */ color: oklch(36.3% 0.129 298.3);
Tailwind
colors: {
  custom: {
    50: '#7f649f',
    500: '#482877',
    950: '#000000',
  },
}
SCSS
$custom: #482877;
$custom-light: #7f649f;
$custom-dark: #000000;
JSON
{
  "hex": "#482877",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 264.304,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36261,
    "c": 0.12909,
    "h": 298.3
  },
  "luminance": 0.04227
}

Semantic roles & 50–950 ramp

primary
#482877
secondary
#86A952
accent
#D94FA1
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #482877

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

Preview Lab → · Contrast checker → · Palette generator →

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