#671C77#671C77

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

Color values

HEX#671C77
RGBrgb(103, 28, 119)
HSLhsl(289, 62%, 29%)
HSVhsv(289, 76%, 47%)
CMYKcmyk(13.4%, 76.5%, 0%, 53.3%)
CIE-LABlab(26.87, 45.94, -35.72)
CIE-LCHlch(26.87, 58.20, 322.14°)
OKLaboklab(38.98% 0.1189 -0.1001)
OKLCHoklch(38.98% 0.155 319.9)
XYZxyz(9.3381, 5.0465, 17.9314)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C77 #2C771C
analogous
#3A1C77 #671C77 #771C5A
triadic
#671C77 #77671C #1C7767
tetradic
#671C77 #773A1C #2C771C #1C5A77
square
#671C77 #773A1C #2C771C #1C5A77
split-complementary
#671C77 #5A771C #1C773A
monochromatic
#150619 #3C1045 #671C77 #9228A9 #B73CD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##671C77#FFFFFF#000000##FFFFFF
##671C771.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)
#003A7A
Deuteranopia (green-blind)
#244275
Tritanopia (blue-blind)
#672E48
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #671c77;
/* rgb */ color: rgb(103, 28, 119);
/* oklch */ color: oklch(39.0% 0.155 319.9);
Tailwind
colors: {
  custom: {
    50: '#96619f',
    500: '#671c77',
    950: '#000000',
  },
}
SCSS
$custom: #671c77;
$custom-light: #96619f;
$custom-dark: #000000;
JSON
{
  "hex": "#671c77",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 289.451,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38978,
    "c": 0.15546,
    "h": 319.9
  },
  "luminance": 0.05046
}

Semantic roles & 50–950 ramp

primary
#671C77
secondary
#56AB44
accent
#E5435F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #671C77

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

Preview Lab → · Contrast checker → · Palette generator →

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