#672179#672179

#672179 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.6% C 0.151 H 318.6°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#672179
RGBrgb(103, 33, 121)
HSLhsl(288, 57%, 30%)
HSVhsv(288, 73%, 47%)
CMYKcmyk(14.9%, 72.7%, 0%, 52.5%)
CIE-LABlab(27.72, 44.33, -35.63)
CIE-LCHlch(27.72, 56.87, 321.21°)
OKLaboklab(39.63% 0.1134 -0.0999)
OKLCHoklch(39.63% 0.151 318.6)
XYZxyz(9.5881, 5.3522, 18.6135)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672179 #337921
analogous
#3B2179 #672179 #79215F
triadic
#672179 #796721 #217967
tetradic
#672179 #793B21 #337921 #215F79
square
#672179 #793B21 #337921 #215F79
split-complementary
#672179 #5F7921 #21793B
monochromatic
#150719 #3E1449 #672179 #902EA9 #B247CD

Accessibility & contrast

On white

10.14
#672179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#672179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672179
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672179#FFFFFF#000000##FFFFFF
##6721791.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#264477
Tritanopia (blue-blind)
#67324A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #672179;
/* rgb */ color: rgb(103, 33, 121);
/* oklch */ color: oklch(39.6% 0.151 318.6);
Tailwind
colors: {
  custom: {
    50: '#9563a0',
    500: '#672179',
    950: '#000000',
  },
}
SCSS
$custom: #672179;
$custom-light: #9563a0;
$custom-dark: #000000;
JSON
{
  "hex": "#672179",
  "rgb": {
    "r": 103,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 287.727,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39627,
    "c": 0.15113,
    "h": 318.6
  },
  "luminance": 0.05352
}

Semantic roles & 50–950 ramp

primary
#672179
secondary
#5EAC4A
accent
#E04767
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #672179

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

Preview Lab → · Contrast checker → · Palette generator →

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