#482278#482278

#482278 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.139 H 299.4°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#482278
RGBrgb(72, 34, 120)
HSLhsl(267, 56%, 30%)
HSVhsv(267, 72%, 47%)
CMYKcmyk(40%, 71.7%, 0%, 52.9%)
CIE-LABlab(23.26, 36.62, -42.40)
CIE-LCHlch(23.26, 56.03, 310.82°)
OKLaboklab(35.46% 0.0682 -0.1209)
OKLCHoklch(35.46% 0.139 299.4)
XYZxyz(6.6338, 3.8778, 18.1646)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482278 #527822
analogous
#222778 #482278 #732278
triadic
#482278 #784822 #227848
tetradic
#482278 #782227 #527822 #227873
square
#482278 #782227 #527822 #227873
split-complementary
#482278 #787322 #277822
monochromatic
#0F0719 #2B1448 #482278 #6530A8 #8349CB

Accessibility & contrast

On white

11.83
#482278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#482278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482278
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482278#FFFFFF#000000##FFFFFF
##4822781.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #482278;
/* rgb */ color: rgb(72, 34, 120);
/* oklch */ color: oklch(35.5% 0.139 299.4);
Tailwind
colors: {
  custom: {
    50: '#8060a0',
    500: '#482278',
    950: '#000000',
  },
}
SCSS
$custom: #482278;
$custom-light: #8060a0;
$custom-dark: #000000;
JSON
{
  "hex": "#482278",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 266.512,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35462,
    "c": 0.13886,
    "h": 299.4
  },
  "luminance": 0.03878
}

Semantic roles & 50–950 ramp

primary
#482278
secondary
#80AB4B
accent
#DF499D
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #482278

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

Preview Lab → · Contrast checker → · Palette generator →

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