#671E97#671E97

#671E97 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.184 H 307.3°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#671E97
RGBrgb(103, 30, 151)
HSLhsl(276, 67%, 35%)
HSVhsv(276, 80%, 59%)
CMYKcmyk(31.8%, 80.1%, 0%, 40.8%)
CIE-LABlab(29.53, 52.07, -51.39)
CIE-LCHlch(29.53, 73.16, 315.38°)
OKLaboklab(41.61% 0.1113 -0.1462)
OKLCHoklch(41.61% 0.184 307.3)
XYZxyz(11.6425, 6.0466, 29.8259)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E97 #4E971E
analogous
#2A1E97 #671E97 #971E8B
triadic
#671E97 #97671E #1E9767
tetradic
#671E97 #972A1E #4E971E #1E8B97
square
#671E97 #972A1E #4E971E #1E8B97
split-complementary
#671E97 #8B971E #1E972A
monochromatic
#210A31 #441464 #671E97 #8A28CA #A653DD

Accessibility & contrast

On white

9.51
#671E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#671E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671E97
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E97#FFFFFF#000000##FFFFFF
##671E971.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671e97;
/* rgb */ color: rgb(103, 30, 151);
/* oklch */ color: oklch(41.6% 0.184 307.3);
Tailwind
colors: {
  custom: {
    50: '#9763b6',
    500: '#671e97',
    950: '#000000',
  },
}
SCSS
$custom: #671e97;
$custom-light: #9763b6;
$custom-dark: #000000;
JSON
{
  "hex": "#671e97",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 276.198,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41614,
    "c": 0.18373,
    "h": 307.3
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#671E97
secondary
#7DC051
accent
#EA3E82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671E97

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

Preview Lab → · Contrast checker → · Palette generator →

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