#482078#482078

#482078 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.141 H 299.9°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#482078
RGBrgb(72, 32, 120)
HSLhsl(267, 58%, 30%)
HSVhsv(267, 73%, 47%)
CMYKcmyk(40%, 73.3%, 0%, 52.9%)
CIE-LABlab(22.88, 37.68, -43.02)
CIE-LCHlch(22.88, 57.19, 311.22°)
OKLaboklab(35.19% 0.0705 -0.1227)
OKLCHoklch(35.19% 0.142 299.9)
XYZxyz(6.5783, 3.7667, 18.1461)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482078 #507820
analogous
#202478 #482078 #742078
triadic
#482078 #784820 #207848
tetradic
#482078 #782024 #507820 #207874
square
#482078 #782024 #507820 #207874
split-complementary
#482078 #787420 #247820
monochromatic
#0E0618 #2B1348 #482078 #652DA8 #8345CD

Accessibility & contrast

On white

11.98
#482078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#482078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482078
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482078#FFFFFF#000000##FFFFFF
##4820781.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#003676
Tritanopia (blue-blind)
#3D3549
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #482078;
/* rgb */ color: rgb(72, 32, 120);
/* oklch */ color: oklch(35.2% 0.141 299.9);
Tailwind
colors: {
  custom: {
    50: '#805fa0',
    500: '#482078',
    950: '#000000',
  },
}
SCSS
$custom: #482078;
$custom-light: #805fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#482078",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 267.273,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35193,
    "c": 0.1415,
    "h": 299.9
  },
  "luminance": 0.03767
}

Semantic roles & 50–950 ramp

primary
#482078
secondary
#7EAB48
accent
#E1479B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #482078

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

Preview Lab → · Contrast checker → · Palette generator →

#482078 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva