#482C78#482C78

#482C78 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.0% C 0.124 H 296.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#482C78
RGBrgb(72, 44, 120)
HSLhsl(262, 46%, 32%)
HSVhsv(262, 63%, 47%)
CMYKcmyk(40%, 63.3%, 0%, 52.9%)
CIE-LABlab(25.37, 30.90, -39.00)
CIE-LCHlch(25.37, 49.76, 308.39°)
OKLaboklab(36.98% 0.0562 -0.1109)
OKLCHoklch(36.98% 0.124 296.8)
XYZxyz(6.9625, 4.5350, 18.2742)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482C78 #5C782C
analogous
#2C3678 #482C78 #6E2C78
triadic
#482C78 #78482C #2C7848
tetradic
#482C78 #782C36 #5C782C #2C786E
square
#482C78 #782C36 #5C782C #2C786E
split-complementary
#482C78 #786E2C #36782C
monochromatic
#120B1E #2D1C4B #482C78 #633CA5 #825BC3

Accessibility & contrast

On white

11.01
#482C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#482C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482C78
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482C78#FFFFFF#000000##FFFFFF
##482C781.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#093B76
Tritanopia (blue-blind)
#3C3D4D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #482c78;
/* rgb */ color: rgb(72, 44, 120);
/* oklch */ color: oklch(37.0% 0.124 296.8);
Tailwind
colors: {
  custom: {
    50: '#7f669f',
    500: '#482c78',
    950: '#000000',
  },
}
SCSS
$custom: #482c78;
$custom-light: #7f669f;
$custom-dark: #000000;
JSON
{
  "hex": "#482c78",
  "rgb": {
    "r": 72,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 262.105,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3698,
    "c": 0.12434,
    "h": 296.8
  },
  "luminance": 0.04535
}

Semantic roles & 50–950 ramp

primary
#482C78
secondary
#8BA957
accent
#D652A5
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #482C78

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

Preview Lab → · Contrast checker → · Palette generator →

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