#482F9D#482F9D

#482F9D is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.168 H 286.7°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#482F9D
RGBrgb(72, 47, 157)
HSLhsl(254, 54%, 40%)
HSVhsv(254, 70%, 62%)
CMYKcmyk(54.1%, 70.1%, 0%, 38.4%)
CIE-LABlab(29.02, 40.20, -56.05)
CIE-LCHlch(29.02, 68.98, 305.65°)
OKLaboklab(40.56% 0.0484 -0.1611)
OKLCHoklch(40.56% 0.168 286.7)
XYZxyz(9.7730, 5.8446, 32.5049)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482F9D #849D2F
analogous
#2F4D9D #482F9D #7F2F9D
triadic
#482F9D #9D482F #2F9D48
tetradic
#482F9D #9D2F4D #849D2F #2F9D7F
square
#482F9D #9D2F4D #849D2F #2F9D7F
split-complementary
#482F9D #9D7F2F #4D9D2F
monochromatic
#1D133F #32216E #482F9D #6143C7 #8872D5

Accessibility & contrast

On white

9.68
#482F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#482F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482F9D
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482F9D#FFFFFF#000000##FFFFFF
##482F9D1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#254B62
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #482f9d;
/* rgb */ color: rgb(72, 47, 157);
/* oklch */ color: oklch(40.6% 0.168 286.7);
Tailwind
colors: {
  custom: {
    50: '#846abb',
    500: '#482f9d',
    950: '#000000',
  },
}
SCSS
$custom: #482f9d;
$custom-light: #846abb;
$custom-dark: #000000;
JSON
{
  "hex": "#482f9d",
  "rgb": {
    "r": 72,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 253.636,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.40556,
    "c": 0.16818,
    "h": 286.7
  },
  "luminance": 0.05845
}

Semantic roles & 50–950 ramp

primary
#482F9D
secondary
#AABC6B
accent
#DD4BBC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #482F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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