#671F8D#671F8D

#671F8D is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.173 H 310.7°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#671F8D
RGBrgb(103, 31, 141)
HSLhsl(279, 64%, 34%)
HSVhsv(279, 78%, 55%)
CMYKcmyk(27%, 78%, 0%, 44.7%)
CIE-LABlab(28.87, 49.45, -46.30)
CIE-LCHlch(28.87, 67.74, 316.88°)
OKLaboklab(40.9% 0.1127 -0.1312)
OKLCHoklch(40.9% 0.173 310.7)
XYZxyz(10.8903, 5.7869, 25.7374)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F8D #458D1F
analogous
#301F8D #671F8D #8D1F7C
triadic
#671F8D #8D671F #1F8D67
tetradic
#671F8D #8D301F #458D1F #1F7C8D
square
#671F8D #8D301F #458D1F #1F7C8D
split-complementary
#671F8D #7C8D1F #1F8D30
monochromatic
#1E0929 #42145B #671F8D #8C2ABF #A94ED8

Accessibility & contrast

On white

9.73
#671F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671F8D
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F8D#FFFFFF#000000##FFFFFF
##671F8D1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671f8d;
/* rgb */ color: rgb(103, 31, 141);
/* oklch */ color: oklch(40.9% 0.173 310.7);
Tailwind
colors: {
  custom: {
    50: '#9763af',
    500: '#671f8d',
    950: '#000000',
  },
}
SCSS
$custom: #671f8d;
$custom-light: #9763af;
$custom-dark: #000000;
JSON
{
  "hex": "#671f8d",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 279.273,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40901,
    "c": 0.17297,
    "h": 310.7
  },
  "luminance": 0.05787
}

Semantic roles & 50–950 ramp

primary
#671F8D
secondary
#73BB4D
accent
#E7417A
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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