#671FA6#671FA6

#671FA6 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.0% C 0.197 H 302.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#671FA6
RGBrgb(103, 31, 166)
HSLhsl(272, 69%, 39%)
HSVhsv(272, 81%, 65%)
CMYKcmyk(38%, 81.3%, 0%, 34.9%)
CIE-LABlab(30.92, 55.15, -58.25)
CIE-LCHlch(30.92, 80.21, 313.44°)
OKLaboklab(42.97% 0.1064 -0.1663)
OKLCHoklch(42.97% 0.197 302.6)
XYZxyz(12.9648, 6.6167, 36.6631)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671FA6 #5EA61F
analogous
#231FA6 #671FA6 #A61FA1
triadic
#671FA6 #A6671F #1FA667
tetradic
#671FA6 #A6231F #5EA61F #1FA1A6
square
#671FA6 #A6231F #5EA61F #1FA1A6
split-complementary
#671FA6 #A1A61F #1FA623
monochromatic
#270C3F #471572 #671FA6 #872BD7 #A45EE1

Accessibility & contrast

On white

9.04
#671FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#671FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671FA6
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671FA6#FFFFFF#000000##FFFFFF
##671FA61.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#5A4463
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #671fa6;
/* rgb */ color: rgb(103, 31, 166);
/* oklch */ color: oklch(43.0% 0.197 302.6);
Tailwind
colors: {
  custom: {
    50: '#9964c1',
    500: '#671fa6',
    950: '#000000',
  },
}
SCSS
$custom: #671fa6;
$custom-light: #9964c1;
$custom-dark: #000000;
JSON
{
  "hex": "#671fa6",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 272,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42973,
    "c": 0.19742,
    "h": 302.6
  },
  "luminance": 0.06617
}

Semantic roles & 50–950 ramp

primary
#671FA6
secondary
#8DC55B
accent
#EB3C8E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #671FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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