#482D78#482D78

#482D78 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.1% C 0.123 H 296.5°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#482D78
RGBrgb(72, 45, 120)
HSLhsl(262, 45%, 32%)
HSVhsv(262, 63%, 47%)
CMYKcmyk(40%, 62.5%, 0%, 52.9%)
CIE-LABlab(25.59, 30.30, -38.63)
CIE-LCHlch(25.59, 49.09, 308.11°)
OKLaboklab(37.15% 0.0549 -0.1099)
OKLCHoklch(37.15% 0.123 296.5)
XYZxyz(7.0002, 4.6104, 18.2867)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482D78 #5D782D
analogous
#2D3778 #482D78 #6E2D78
triadic
#482D78 #78482D #2D7848
tetradic
#482D78 #782D37 #5D782D #2D786E
square
#482D78 #782D37 #5D782D #2D786E
split-complementary
#482D78 #786E2D #37782D
monochromatic
#130C1F #2D1C4B #482D78 #633EA5 #825DC2

Accessibility & contrast

On white

10.92
#482D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#482D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482D78
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482D78#FFFFFF#000000##FFFFFF
##482D781.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#0C3C76
Tritanopia (blue-blind)
#3C3D4E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #482d78;
/* rgb */ color: rgb(72, 45, 120);
/* oklch */ color: oklch(37.1% 0.123 296.5);
Tailwind
colors: {
  custom: {
    50: '#7f679f',
    500: '#482d78',
    950: '#000000',
  },
}
SCSS
$custom: #482d78;
$custom-light: #7f679f;
$custom-dark: #000000;
JSON
{
  "hex": "#482d78",
  "rgb": {
    "r": 72,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 261.6,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37147,
    "c": 0.1228,
    "h": 296.5
  },
  "luminance": 0.04611
}

Semantic roles & 50–950 ramp

primary
#482D78
secondary
#8CA958
accent
#D553A6
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #482D78

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

Preview Lab → · Contrast checker → · Palette generator →

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