#672182#672182

#672182 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.160 H 314.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#672182
RGBrgb(103, 33, 130)
HSLhsl(283, 60%, 32%)
HSVhsv(283, 75%, 51%)
CMYKcmyk(20.8%, 74.6%, 0%, 49%)
CIE-LABlab(28.34, 46.24, -40.30)
CIE-LCHlch(28.34, 61.34, 318.92°)
OKLaboklab(40.27% 0.1125 -0.1136)
OKLCHoklch(40.27% 0.16 314.7)
XYZxyz(10.1660, 5.5833, 21.6569)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672182 #3C8221
analogous
#372182 #672182 #82216D
triadic
#672182 #826721 #218267
tetradic
#672182 #823721 #3C8221 #216D82
square
#672182 #823721 #3C8221 #216D82
split-complementary
#672182 #6D8221 #218237
monochromatic
#1A0820 #401551 #672182 #8E2DB3 #AC4CD2

Accessibility & contrast

On white

9.92
#672182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#672182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672182
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672182#FFFFFF#000000##FFFFFF
##6721821.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#1D4580
Tritanopia (blue-blind)
#65364F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #672182;
/* rgb */ color: rgb(103, 33, 130);
/* oklch */ color: oklch(40.3% 0.160 314.7);
Tailwind
colors: {
  custom: {
    50: '#9664a7',
    500: '#672182',
    950: '#000000',
  },
}
SCSS
$custom: #672182;
$custom-light: #9664a7;
$custom-dark: #000000;
JSON
{
  "hex": "#672182",
  "rgb": {
    "r": 103,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 283.299,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40267,
    "c": 0.15991,
    "h": 314.7
  },
  "luminance": 0.05583
}

Semantic roles & 50–950 ramp

primary
#672182
secondary
#68B44A
accent
#E34571
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #672182

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

Preview Lab → · Contrast checker → · Palette generator →

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