#671F84#671F84

#671F84 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.164 H 314.1°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#671F84
RGBrgb(103, 31, 132)
HSLhsl(283, 62%, 32%)
HSVhsv(283, 77%, 52%)
CMYKcmyk(22%, 76.5%, 0%, 48.2%)
CIE-LABlab(28.19, 47.49, -41.79)
CIE-LCHlch(28.19, 63.25, 318.65°)
OKLaboklab(40.21% 0.1143 -0.118)
OKLCHoklch(40.21% 0.164 314.1)
XYZxyz(10.2477, 5.5298, 22.3529)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F84 #3C841F
analogous
#341F84 #671F84 #841F6F
triadic
#671F84 #84671F #1F8467
tetradic
#671F84 #84341F #3C841F #1F6F84
square
#671F84 #84341F #3C841F #1F6F84
split-complementary
#671F84 #6F841F #1F8434
monochromatic
#1A0821 #401352 #671F84 #8E2BB6 #AC49D4

Accessibility & contrast

On white

9.97
#671F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#671F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F84
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F84#FFFFFF#000000##FFFFFF
##671F841.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#184482
Tritanopia (blue-blind)
#643550
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #671f84;
/* rgb */ color: rgb(103, 31, 132);
/* oklch */ color: oklch(40.2% 0.164 314.1);
Tailwind
colors: {
  custom: {
    50: '#9663a8',
    500: '#671f84',
    950: '#000000',
  },
}
SCSS
$custom: #671f84;
$custom-light: #9663a8;
$custom-dark: #000000;
JSON
{
  "hex": "#671f84",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 282.772,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40212,
    "c": 0.16425,
    "h": 314.1
  },
  "luminance": 0.05529
}

Semantic roles & 50–950 ramp

primary
#671F84
secondary
#68B748
accent
#E54371
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671F84

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

Preview Lab → · Contrast checker → · Palette generator →

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