#671F8E#671F8E

#671F8E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.174 H 310.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#671F8E
RGBrgb(103, 31, 142)
HSLhsl(279, 64%, 34%)
HSVhsv(279, 78%, 56%)
CMYKcmyk(27.5%, 78.2%, 0%, 44.3%)
CIE-LABlab(28.95, 49.67, -46.80)
CIE-LCHlch(28.95, 68.24, 316.71°)
OKLaboklab(40.98% 0.1125 -0.1327)
OKLCHoklch(40.98% 0.174 310.3)
XYZxyz(10.9650, 5.8168, 26.1311)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F8E #468E1F
analogous
#301F8E #671F8E #8E1F7E
triadic
#671F8E #8E671F #1F8E67
tetradic
#671F8E #8E301F #468E1F #1F7E8E
square
#671F8E #8E301F #468E1F #1F7E8E
split-complementary
#671F8E #7E8E1F #1F8E30
monochromatic
#1E092A #43145C #671F8E #8B2AC0 #A84FD9

Accessibility & contrast

On white

9.71
#671F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#671F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F8E
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F8E#FFFFFF#000000##FFFFFF
##671F8E1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#623A56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671f8e;
/* rgb */ color: rgb(103, 31, 142);
/* oklch */ color: oklch(41.0% 0.174 310.3);
Tailwind
colors: {
  custom: {
    50: '#9763b0',
    500: '#671f8e',
    950: '#000000',
  },
}
SCSS
$custom: #671f8e;
$custom-light: #9763b0;
$custom-dark: #000000;
JSON
{
  "hex": "#671f8e",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 278.919,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4098,
    "c": 0.17395,
    "h": 310.3
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

primary
#671F8E
secondary
#74BB4D
accent
#E7417B
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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