#671B79#671B79

#671B79 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.158 H 319.1°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#671B79
RGBrgb(103, 27, 121)
HSLhsl(289, 64%, 29%)
HSVhsv(289, 78%, 47%)
CMYKcmyk(14.9%, 77.7%, 0%, 52.5%)
CIE-LABlab(26.87, 46.73, -36.98)
CIE-LCHlch(26.87, 59.59, 321.64°)
OKLaboklab(39.03% 0.1197 -0.1038)
OKLCHoklch(39.03% 0.158 319.1)
XYZxyz(9.4362, 5.0484, 18.5628)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B79 #2D791B
analogous
#381B79 #671B79 #791B5C
triadic
#671B79 #79671B #1B7967
tetradic
#671B79 #79381B #2D791B #1B5C79
square
#671B79 #79381B #2D791B #1B5C79
split-complementary
#671B79 #5C791B #1B7938
monochromatic
#150619 #3C1047 #671B79 #9226AB #B63BD3

Accessibility & contrast

On white

10.45
#671B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#671B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B79
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B79#FFFFFF#000000##FFFFFF
##671B791.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#224277
Tritanopia (blue-blind)
#672E49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #671b79;
/* rgb */ color: rgb(103, 27, 121);
/* oklch */ color: oklch(39.0% 0.158 319.1);
Tailwind
colors: {
  custom: {
    50: '#9660a0',
    500: '#671b79',
    950: '#000000',
  },
}
SCSS
$custom: #671b79;
$custom-light: #9660a0;
$custom-dark: #000000;
JSON
{
  "hex": "#671b79",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 288.511,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39026,
    "c": 0.15846,
    "h": 319.1
  },
  "luminance": 0.05048
}

Semantic roles & 50–950 ramp

primary
#671B79
secondary
#57AD43
accent
#E74161
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #671B79

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

Preview Lab → · Contrast checker → · Palette generator →

#671B79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva