#671B97#671B97

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

Color values

HEX#671B97
RGBrgb(103, 27, 151)
HSLhsl(277, 70%, 35%)
HSVhsv(277, 82%, 59%)
CMYKcmyk(31.8%, 82.1%, 0%, 40.8%)
CIE-LABlab(29.16, 53.13, -51.99)
CIE-LCHlch(29.16, 74.33, 315.62°)
OKLaboklab(41.36% 0.1137 -0.1479)
OKLCHoklch(41.36% 0.187 307.6)
XYZxyz(11.5702, 5.9020, 29.8018)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B97 #4B971B
analogous
#291B97 #671B97 #971B89
triadic
#671B97 #97671B #1B9767
tetradic
#671B97 #97291B #4B971B #1B8997
square
#671B97 #97291B #4B971B #1B8997
split-complementary
#671B97 #89971B #1B9729
monochromatic
#20082F #441263 #671B97 #8A24CB #A74DDF

Accessibility & contrast

On white

9.63
#671B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#671B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B97
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B97#FFFFFF#000000##FFFFFF
##671B971.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671b97;
/* rgb */ color: rgb(103, 27, 151);
/* oklch */ color: oklch(41.4% 0.187 307.6);
Tailwind
colors: {
  custom: {
    50: '#9862b6',
    500: '#671b97',
    950: '#000000',
  },
}
SCSS
$custom: #671b97;
$custom-light: #9862b6;
$custom-dark: #000000;
JSON
{
  "hex": "#671b97",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 276.774,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41358,
    "c": 0.18657,
    "h": 307.6
  },
  "luminance": 0.05902
}

Semantic roles & 50–950 ramp

primary
#671B97
secondary
#7AC14C
accent
#EC3B80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671B97

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

Preview Lab → · Contrast checker → · Palette generator →

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