#671F97#671F97

#671F97 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.183 H 307.2°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#671F97
RGBrgb(103, 31, 151)
HSLhsl(276, 66%, 36%)
HSVhsv(276, 79%, 59%)
CMYKcmyk(31.8%, 79.5%, 0%, 40.8%)
CIE-LABlab(29.66, 51.69, -51.18)
CIE-LCHlch(29.66, 72.74, 315.29°)
OKLaboklab(41.7% 0.1105 -0.1456)
OKLCHoklch(41.7% 0.183 307.2)
XYZxyz(11.6682, 6.0981, 29.8345)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F97 #4F971F
analogous
#2B1F97 #671F97 #971F8B
triadic
#671F97 #97671F #1F9767
tetradic
#671F97 #972B1F #4F971F #1F8B97
square
#671F97 #972B1F #4F971F #1F8B97
split-complementary
#671F97 #8B971F #1F972B
monochromatic
#220A31 #441564 #671F97 #8A29CA #A654DC

Accessibility & contrast

On white

9.46
#671F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#671F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F97
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F97#FFFFFF#000000##FFFFFF
##671F971.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#5F3E5B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #671f97;
/* rgb */ color: rgb(103, 31, 151);
/* oklch */ color: oklch(41.7% 0.183 307.2);
Tailwind
colors: {
  custom: {
    50: '#9764b6',
    500: '#671f97',
    950: '#000000',
  },
}
SCSS
$custom: #671f97;
$custom-light: #9764b6;
$custom-dark: #000000;
JSON
{
  "hex": "#671f97",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 276,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41704,
    "c": 0.18273,
    "h": 307.2
  },
  "luminance": 0.06098
}

Semantic roles & 50–950 ramp

primary
#671F97
secondary
#7EBF52
accent
#E93F83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671F97

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

Preview Lab → · Contrast checker → · Palette generator →

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