#482887#482887

#482887 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.149 H 293.3°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#482887
RGBrgb(72, 40, 135)
HSLhsl(260, 54%, 34%)
HSVhsv(260, 70%, 53%)
CMYKcmyk(46.7%, 70.4%, 0%, 47.1%)
CIE-LABlab(25.70, 37.59, -47.91)
CIE-LCHlch(25.70, 60.90, 308.11°)
OKLaboklab(37.59% 0.0592 -0.1371)
OKLCHoklch(37.59% 0.149 293.3)
XYZxyz(7.8033, 4.6443, 23.4023)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482887 #678728
analogous
#283787 #482887 #782887
triadic
#482887 #874828 #288748
tetradic
#482887 #872837 #678728 #288778
square
#482887 #872837 #678728 #288778
split-complementary
#482887 #877828 #378728
monochromatic
#160C29 #2F1A58 #482887 #6136B6 #825BCE

Accessibility & contrast

On white

10.89
#482887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#482887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482887
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482887#FFFFFF#000000##FFFFFF
##4828871.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#363F54
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #482887;
/* rgb */ color: rgb(72, 40, 135);
/* oklch */ color: oklch(37.6% 0.149 293.3);
Tailwind
colors: {
  custom: {
    50: '#8164ab',
    500: '#482887',
    950: '#000000',
  },
}
SCSS
$custom: #482887;
$custom-light: #8164ab;
$custom-dark: #000000;
JSON
{
  "hex": "#482887",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 260.211,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37592,
    "c": 0.14935,
    "h": 293.3
  },
  "luminance": 0.04645
}

Semantic roles & 50–950 ramp

primary
#482887
secondary
#94B457
accent
#DE4AAC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #482887

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

Preview Lab → · Contrast checker → · Palette generator →

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