#482F9E#482F9E

#482F9E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.169 H 286.5°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#482F9E
RGBrgb(72, 47, 158)
HSLhsl(254, 54%, 40%)
HSVhsv(254, 70%, 62%)
CMYKcmyk(54.4%, 70.3%, 0%, 38%)
CIE-LABlab(29.10, 40.51, -56.52)
CIE-LCHlch(29.10, 69.53, 305.63°)
OKLaboklab(40.65% 0.0482 -0.1624)
OKLCHoklch(40.65% 0.169 286.5)
XYZxyz(9.8587, 5.8789, 32.9564)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482F9E #859E2F
analogous
#2F4D9E #482F9E #802F9E
triadic
#482F9E #9E482F #2F9E48
tetradic
#482F9E #9E2F4D #859E2F #2F9E80
square
#482F9E #9E2F4D #859E2F #2F9E80
split-complementary
#482F9E #9E802F #4D9E2F
monochromatic
#1D1340 #33216F #482F9E #6143C7 #8972D5

Accessibility & contrast

On white

9.65
#482F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#482F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482F9E
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482F9E#FFFFFF#000000##FFFFFF
##482F9E1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#244C63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #482f9e;
/* rgb */ color: rgb(72, 47, 158);
/* oklch */ color: oklch(40.6% 0.169 286.5);
Tailwind
colors: {
  custom: {
    50: '#846abc',
    500: '#482f9e',
    950: '#000000',
  },
}
SCSS
$custom: #482f9e;
$custom-light: #846abc;
$custom-dark: #000000;
JSON
{
  "hex": "#482f9e",
  "rgb": {
    "r": 72,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 253.514,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40646,
    "c": 0.16943,
    "h": 286.5
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#482F9E
secondary
#ABBD6C
accent
#DE4ABC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #482F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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