#671C97#671C97

#671C97 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.186 H 307.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#671C97
RGBrgb(103, 28, 151)
HSLhsl(277, 69%, 35%)
HSVhsv(277, 81%, 59%)
CMYKcmyk(31.8%, 81.5%, 0%, 40.8%)
CIE-LABlab(29.28, 52.78, -51.79)
CIE-LCHlch(29.28, 73.95, 315.54°)
OKLaboklab(41.44% 0.1129 -0.1473)
OKLCHoklch(41.44% 0.186 307.5)
XYZxyz(11.5935, 5.9486, 29.8096)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C97 #4C971C
analogous
#291C97 #671C97 #971C8A
triadic
#671C97 #97671C #1C9767
tetradic
#671C97 #97291C #4C971C #1C8A97
square
#671C97 #97291C #4C971C #1C8A97
split-complementary
#671C97 #8A971C #1C9729
monochromatic
#210930 #441263 #671C97 #8A26CB #A64FDE

Accessibility & contrast

On white

9.59
#671C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#671C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671C97
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C97#FFFFFF#000000##FFFFFF
##671C971.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#5F3C5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #671c97;
/* rgb */ color: rgb(103, 28, 151);
/* oklch */ color: oklch(41.4% 0.186 307.5);
Tailwind
colors: {
  custom: {
    50: '#9862b6',
    500: '#671c97',
    950: '#000000',
  },
}
SCSS
$custom: #671c97;
$custom-light: #9862b6;
$custom-dark: #000000;
JSON
{
  "hex": "#671c97",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 276.585,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41441,
    "c": 0.18565,
    "h": 307.5
  },
  "luminance": 0.05948
}

Semantic roles & 50–950 ramp

primary
#671C97
secondary
#7BC14E
accent
#EC3C81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671C97

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

Preview Lab → · Contrast checker → · Palette generator →

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