#671A97#671A97

#671A97 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.187 H 307.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#671A97
RGBrgb(103, 26, 151)
HSLhsl(277, 71%, 35%)
HSVhsv(277, 83%, 59%)
CMYKcmyk(31.8%, 82.8%, 0%, 40.8%)
CIE-LABlab(29.05, 53.47, -52.17)
CIE-LCHlch(29.05, 74.70, 315.70°)
OKLaboklab(41.28% 0.1145 -0.1484)
OKLCHoklch(41.28% 0.187 307.6)
XYZxyz(11.5476, 5.8569, 29.7943)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A97 #4A971A
analogous
#291A97 #671A97 #971A89
triadic
#671A97 #97671A #1A9767
tetradic
#671A97 #97291A #4A971A #1A8997
square
#671A97 #97291A #4A971A #1A8997
split-complementary
#671A97 #89971A #1A9729
monochromatic
#20082F #431163 #671A97 #8B23CB #A74BE0

Accessibility & contrast

On white

9.67
#671A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#671A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A97
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A97#FFFFFF#000000##FFFFFF
##671A971.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#5F3C5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671a97;
/* rgb */ color: rgb(103, 26, 151);
/* oklch */ color: oklch(41.3% 0.187 307.6);
Tailwind
colors: {
  custom: {
    50: '#9862b6',
    500: '#671a97',
    950: '#000000',
  },
}
SCSS
$custom: #671a97;
$custom-light: #9862b6;
$custom-dark: #000000;
JSON
{
  "hex": "#671a97",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 276.96,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41278,
    "c": 0.18746,
    "h": 307.6
  },
  "luminance": 0.05857
}

Semantic roles & 50–950 ramp

primary
#671A97
secondary
#79C24B
accent
#ED3A7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671A97

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

Preview Lab → · Contrast checker → · Palette generator →

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