#482672#482672

#482672 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.6% C 0.126 H 300.7°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#482672
RGBrgb(72, 38, 114)
HSLhsl(267, 50%, 30%)
HSVhsv(267, 67%, 45%)
CMYKcmyk(36.8%, 66.7%, 0%, 55.3%)
CIE-LABlab(23.60, 32.74, -38.02)
CIE-LCHlch(23.60, 50.18, 310.74°)
OKLaboklab(35.56% 0.0642 -0.108)
OKLCHoklch(35.56% 0.126 300.7)
XYZxyz(6.4021, 3.9788, 16.3470)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482672 #507226
analogous
#262A72 #482672 #6E2672
triadic
#482672 #724826 #267248
tetradic
#482672 #72262A #507226 #26726E
square
#482672 #72262A #507226 #26726E
split-complementary
#482672 #726E26 #2A7226
monochromatic
#0E0817 #2B1744 #482672 #6535A0 #834EC4

Accessibility & contrast

On white

11.69
#482672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#482672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482672
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482672#FFFFFF#000000##FFFFFF
##4826721.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#073870
Tritanopia (blue-blind)
#3F3748
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #482672;
/* rgb */ color: rgb(72, 38, 114);
/* oklch */ color: oklch(35.6% 0.126 300.7);
Tailwind
colors: {
  custom: {
    50: '#7f629b',
    500: '#482672',
    950: '#000000',
  },
}
SCSS
$custom: #482672;
$custom-light: #7f629b;
$custom-dark: #000000;
JSON
{
  "hex": "#482672",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 114
  },
  "hsl": {
    "h": 266.842,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35556,
    "c": 0.12569,
    "h": 300.7
  },
  "luminance": 0.03979
}

Semantic roles & 50–950 ramp

primary
#482672
secondary
#7EA54F
accent
#DA4E9B
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #482672

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

Preview Lab → · Contrast checker → · Palette generator →

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