#482E87#482E87

#482E87 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.5% C 0.141 H 291.8°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#482E87
RGBrgb(72, 46, 135)
HSLhsl(258, 49%, 35%)
HSVhsv(258, 66%, 53%)
CMYKcmyk(46.7%, 65.9%, 0%, 47.1%)
CIE-LABlab(26.96, 34.13, -45.85)
CIE-LCHlch(26.96, 57.16, 306.66°)
OKLaboklab(38.5% 0.0526 -0.1311)
OKLCHoklch(38.5% 0.141 291.8)
XYZxyz(8.0214, 5.0807, 23.4750)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482E87 #6D872E
analogous
#2E4087 #482E87 #742E87
triadic
#482E87 #87482E #2E8748
tetradic
#482E87 #872E40 #6D872E #2E8774
square
#482E87 #872E40 #6D872E #2E8774
split-complementary
#482E87 #87742E #40872E
monochromatic
#170F2C #301E59 #482E87 #603EB5 #8365CA

Accessibility & contrast

On white

10.42
#482E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#482E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482E87
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482E87#FFFFFF#000000##FFFFFF
##482E871.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#354356
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #482e87;
/* rgb */ color: rgb(72, 46, 135);
/* oklch */ color: oklch(38.5% 0.141 291.8);
Tailwind
colors: {
  custom: {
    50: '#8168ab',
    500: '#482e87',
    950: '#000000',
  },
}
SCSS
$custom: #482e87;
$custom-light: #8168ab;
$custom-dark: #000000;
JSON
{
  "hex": "#482e87",
  "rgb": {
    "r": 72,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 257.528,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38504,
    "c": 0.14123,
    "h": 291.8
  },
  "luminance": 0.05081
}

Semantic roles & 50–950 ramp

primary
#482E87
secondary
#99B160
accent
#D94FB1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #482E87

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

Preview Lab → · Contrast checker → · Palette generator →

#482E87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva