#482279#482279

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

Color values

HEX#482279
RGBrgb(72, 34, 121)
HSLhsl(266, 56%, 30%)
HSVhsv(266, 72%, 47%)
CMYKcmyk(40.5%, 71.9%, 0%, 52.5%)
CIE-LABlab(23.35, 36.90, -42.91)
CIE-LCHlch(23.35, 56.59, 310.69°)
OKLaboklab(35.55% 0.0681 -0.1224)
OKLCHoklch(35.55% 0.14 299.1)
XYZxyz(6.6948, 3.9022, 18.4859)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482279 #537922
analogous
#222779 #482279 #732279
triadic
#482279 #794822 #227948
tetradic
#482279 #792227 #537922 #227973
square
#482279 #792227 #537922 #227973
split-complementary
#482279 #797322 #277922
monochromatic
#0F0719 #2C1549 #482279 #642FA9 #8249CC

Accessibility & contrast

On white

11.80
#482279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #482279
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482279#FFFFFF#000000##FFFFFF
##4822791.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#3D374B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #482279;
/* rgb */ color: rgb(72, 34, 121);
/* oklch */ color: oklch(35.5% 0.140 299.1);
Tailwind
colors: {
  custom: {
    50: '#8060a0',
    500: '#482279',
    950: '#000000',
  },
}
SCSS
$custom: #482279;
$custom-light: #8060a0;
$custom-dark: #000000;
JSON
{
  "hex": "#482279",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 266.207,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35547,
    "c": 0.14006,
    "h": 299.1
  },
  "luminance": 0.03902
}

Semantic roles & 50–950 ramp

primary
#482279
secondary
#82AC4B
accent
#DF489D
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #482279

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

Preview Lab → · Contrast checker → · Palette generator →

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