#671E8D#671E8D

#671E8D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.174 H 310.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#671E8D
RGBrgb(103, 30, 141)
HSLhsl(279, 65%, 34%)
HSVhsv(279, 79%, 55%)
CMYKcmyk(27%, 78.7%, 0%, 44.7%)
CIE-LABlab(28.74, 49.83, -46.52)
CIE-LCHlch(28.74, 68.17, 316.97°)
OKLaboklab(40.81% 0.1136 -0.1318)
OKLCHoklch(40.81% 0.174 310.8)
XYZxyz(10.8646, 5.7355, 25.7289)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E8D #448D1E
analogous
#2F1E8D #671E8D #8D1E7B
triadic
#671E8D #8D671E #1E8D67
tetradic
#671E8D #8D2F1E #448D1E #1E7B8D
square
#671E8D #8D2F1E #448D1E #1E7B8D
split-complementary
#671E8D #7B8D1E #1E8D2F
monochromatic
#1D0928 #42135B #671E8D #8C29BF #A94CD9

Accessibility & contrast

On white

9.78
#671E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#671E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671E8D
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E8D#FFFFFF#000000##FFFFFF
##671E8D1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#01458B
Tritanopia (blue-blind)
#623955
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671e8d;
/* rgb */ color: rgb(103, 30, 141);
/* oklch */ color: oklch(40.8% 0.174 310.8);
Tailwind
colors: {
  custom: {
    50: '#9763af',
    500: '#671e8d',
    950: '#000000',
  },
}
SCSS
$custom: #671e8d;
$custom-light: #9763af;
$custom-dark: #000000;
JSON
{
  "hex": "#671e8d",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 279.459,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40807,
    "c": 0.17405,
    "h": 310.8
  },
  "luminance": 0.05735
}

Semantic roles & 50–950 ramp

primary
#671E8D
secondary
#72BC4B
accent
#E84079
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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