#671E8C#671E8C

#671E8C is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.173 H 311.1°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#671E8C
RGBrgb(103, 30, 140)
HSLhsl(280, 65%, 33%)
HSVhsv(280, 79%, 55%)
CMYKcmyk(26.4%, 78.6%, 0%, 45.1%)
CIE-LABlab(28.66, 49.62, -46.02)
CIE-LCHlch(28.66, 67.67, 317.15°)
OKLaboklab(40.73% 0.1138 -0.1304)
OKLCHoklch(40.73% 0.173 311.1)
XYZxyz(10.7905, 5.7058, 25.3388)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E8C #438C1E
analogous
#301E8C #671E8C #8C1E7A
triadic
#671E8C #8C671E #1E8C67
tetradic
#671E8C #8C301E #438C1E #1E7A8C
square
#671E8C #8C301E #438C1E #1E7A8C
split-complementary
#671E8C #7A8C1E #1E8C30
monochromatic
#1D0827 #42135A #671E8C #8C29BE #A94CD9

Accessibility & contrast

On white

9.81
#671E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#671E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671E8C
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E8C#FFFFFF#000000##FFFFFF
##671E8C1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#04458A
Tritanopia (blue-blind)
#623854
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671e8c;
/* rgb */ color: rgb(103, 30, 140);
/* oklch */ color: oklch(40.7% 0.173 311.1);
Tailwind
colors: {
  custom: {
    50: '#9763ae',
    500: '#671e8c',
    950: '#000000',
  },
}
SCSS
$custom: #671e8c;
$custom-light: #9763ae;
$custom-dark: #000000;
JSON
{
  "hex": "#671e8c",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 140
  },
  "hsl": {
    "h": 279.818,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40729,
    "c": 0.17308,
    "h": 311.1
  },
  "luminance": 0.05706
}

Semantic roles & 50–950 ramp

primary
#671E8C
secondary
#71BB4B
accent
#E84078
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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