#482178#482178

#482178 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.140 H 299.7°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#482178
RGBrgb(72, 33, 120)
HSLhsl(267, 57%, 30%)
HSVhsv(267, 73%, 47%)
CMYKcmyk(40%, 72.5%, 0%, 52.9%)
CIE-LABlab(23.07, 37.16, -42.72)
CIE-LCHlch(23.07, 56.62, 311.02°)
OKLaboklab(35.33% 0.0694 -0.1218)
OKLCHoklch(35.33% 0.14 299.7)
XYZxyz(6.6057, 3.8214, 18.1552)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482178 #517821
analogous
#212578 #482178 #742178
triadic
#482178 #784821 #217848
tetradic
#482178 #782125 #517821 #217874
square
#482178 #782125 #517821 #217874
split-complementary
#482178 #787421 #257821
monochromatic
#0E0718 #2B1448 #482178 #652EA8 #8347CC

Accessibility & contrast

On white

11.90
#482178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#482178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482178
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482178#FFFFFF#000000##FFFFFF
##4821781.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #482178;
/* rgb */ color: rgb(72, 33, 120);
/* oklch */ color: oklch(35.3% 0.140 299.7);
Tailwind
colors: {
  custom: {
    50: '#8060a0',
    500: '#482178',
    950: '#000000',
  },
}
SCSS
$custom: #482178;
$custom-light: #8060a0;
$custom-dark: #000000;
JSON
{
  "hex": "#482178",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 266.897,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.35326,
    "c": 0.14019,
    "h": 299.7
  },
  "luminance": 0.03821
}

Semantic roles & 50–950 ramp

primary
#482178
secondary
#7FAB4A
accent
#E0489C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #482178

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

Preview Lab → · Contrast checker → · Palette generator →

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