#671F77#671F77

#671F77 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.152 H 319.7°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#671F77
RGBrgb(103, 31, 119)
HSLhsl(289, 59%, 29%)
HSVhsv(289, 74%, 47%)
CMYKcmyk(13.4%, 73.9%, 0%, 53.3%)
CIE-LABlab(27.29, 44.75, -35.05)
CIE-LCHlch(27.29, 56.84, 321.94°)
OKLaboklab(39.28% 0.1158 -0.0982)
OKLCHoklch(39.28% 0.152 319.7)
XYZxyz(9.4129, 5.1959, 17.9563)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F77 #2F771F
analogous
#3B1F77 #671F77 #771F5B
triadic
#671F77 #77671F #1F7767
tetradic
#671F77 #773B1F #2F771F #1F5B77
square
#671F77 #773B1F #2F771F #1F5B77
split-complementary
#671F77 #5B771F #1F773B
monochromatic
#150618 #3D1246 #671F77 #912CA8 #B543CE

Accessibility & contrast

On white

10.30
#671F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#671F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F77
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F77#FFFFFF#000000##FFFFFF
##671F771.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#264375
Tritanopia (blue-blind)
#673049
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671f77;
/* rgb */ color: rgb(103, 31, 119);
/* oklch */ color: oklch(39.3% 0.152 319.7);
Tailwind
colors: {
  custom: {
    50: '#95629f',
    500: '#671f77',
    950: '#000000',
  },
}
SCSS
$custom: #671f77;
$custom-light: #95629f;
$custom-dark: #000000;
JSON
{
  "hex": "#671f77",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 289.091,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39277,
    "c": 0.1518,
    "h": 319.7
  },
  "luminance": 0.05195
}

Semantic roles & 50–950 ramp

primary
#671F77
secondary
#59AB47
accent
#E24662
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #671F77

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

Preview Lab → · Contrast checker → · Palette generator →

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