#482A78#482A78

#482A78 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.7% C 0.127 H 297.4°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#482A78
RGBrgb(72, 42, 120)
HSLhsl(263, 48%, 32%)
HSVhsv(263, 65%, 47%)
CMYKcmyk(40%, 65%, 0%, 52.9%)
CIE-LABlab(24.92, 32.10, -39.72)
CIE-LCHlch(24.92, 51.07, 308.94°)
OKLaboklab(36.66% 0.0587 -0.1131)
OKLCHoklch(36.66% 0.127 297.4)
XYZxyz(6.8898, 4.3896, 18.2499)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482A78 #5A782A
analogous
#2A3378 #482A78 #6F2A78
triadic
#482A78 #78482A #2A7848
tetradic
#482A78 #782A33 #5A782A #2A786F
square
#482A78 #782A33 #5A782A #2A786F
split-complementary
#482A78 #786F2A #33782A
monochromatic
#120A1D #2D1A4B #482A78 #633AA5 #8258C5

Accessibility & contrast

On white

11.18
#482A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#482A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482A78
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482A78#FFFFFF#000000##FFFFFF
##482A781.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#033A76
Tritanopia (blue-blind)
#3D3B4D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #482a78;
/* rgb */ color: rgb(72, 42, 120);
/* oklch */ color: oklch(36.7% 0.127 297.4);
Tailwind
colors: {
  custom: {
    50: '#7f65a0',
    500: '#482a78',
    950: '#000000',
  },
}
SCSS
$custom: #482a78;
$custom-light: #7f65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#482a78",
  "rgb": {
    "r": 72,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 263.077,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36655,
    "c": 0.12739,
    "h": 297.4
  },
  "luminance": 0.0439
}

Semantic roles & 50–950 ramp

primary
#482A78
secondary
#89AA54
accent
#D850A4
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #482A78

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

Preview Lab → · Contrast checker → · Palette generator →

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