#482F97#482F97

#482F97 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.161 H 287.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#482F97
RGBrgb(72, 47, 151)
HSLhsl(254, 53%, 39%)
HSVhsv(254, 69%, 59%)
CMYKcmyk(52.3%, 68.9%, 0%, 40.8%)
CIE-LABlab(28.50, 38.38, -53.24)
CIE-LCHlch(28.50, 65.63, 305.79°)
OKLaboklab(40.02% 0.0494 -0.1528)
OKLCHoklch(40.02% 0.161 287.9)
XYZxyz(9.2733, 5.6447, 29.8731)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482F97 #7E972F
analogous
#2F4A97 #482F97 #7C2F97
triadic
#482F97 #97482F #2F9748
tetradic
#482F97 #972F4A #7E972F #2F977C
square
#482F97 #972F4A #7E972F #2F977C
split-complementary
#482F97 #977C2F #4A972F
monochromatic
#1B123A #322068 #482F97 #5F40C3 #866ED2

Accessibility & contrast

On white

9.86
#482F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#482F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482F97
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482F97#FFFFFF#000000##FFFFFF
##482F971.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#2B495F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #482f97;
/* rgb */ color: rgb(72, 47, 151);
/* oklch */ color: oklch(40.0% 0.161 287.9);
Tailwind
colors: {
  custom: {
    50: '#8369b6',
    500: '#482f97',
    950: '#000000',
  },
}
SCSS
$custom: #482f97;
$custom-light: #8369b6;
$custom-dark: #000000;
JSON
{
  "hex": "#482f97",
  "rgb": {
    "r": 72,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 254.423,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40023,
    "c": 0.16058,
    "h": 287.9
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#482F97
secondary
#A6B968
accent
#DC4CB9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #482F97

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

Preview Lab → · Contrast checker → · Palette generator →

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