#482179#482179

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

Color values

HEX#482179
RGBrgb(72, 33, 121)
HSLhsl(267, 57%, 30%)
HSVhsv(267, 73%, 47%)
CMYKcmyk(40.5%, 72.7%, 0%, 52.5%)
CIE-LABlab(23.16, 37.43, -43.22)
CIE-LCHlch(23.16, 57.17, 310.90°)
OKLaboklab(35.41% 0.0692 -0.1233)
OKLCHoklch(35.41% 0.141 299.3)
XYZxyz(6.6667, 3.8458, 18.4765)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482179 #527921
analogous
#212679 #482179 #742179
triadic
#482179 #794821 #217948
tetradic
#482179 #792126 #527921 #217974
square
#482179 #792126 #527921 #217974
split-complementary
#482179 #797421 #267921
monochromatic
#0F0719 #2B1449 #482179 #652EA9 #8347CD

Accessibility & contrast

On white

11.87
#482179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#482179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482179
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482179#FFFFFF#000000##FFFFFF
##4821791.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #482179;
/* rgb */ color: rgb(72, 33, 121);
/* oklch */ color: oklch(35.4% 0.141 299.3);
Tailwind
colors: {
  custom: {
    50: '#8060a0',
    500: '#482179',
    950: '#000000',
  },
}
SCSS
$custom: #482179;
$custom-light: #8060a0;
$custom-dark: #000000;
JSON
{
  "hex": "#482179",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 266.591,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35411,
    "c": 0.14139,
    "h": 299.3
  },
  "luminance": 0.03846
}

Semantic roles & 50–950 ramp

primary
#482179
secondary
#80AC4A
accent
#E0479D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #482179

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

Preview Lab → · Contrast checker → · Palette generator →

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