#671D8D#671D8D

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

Color values

HEX#671D8D
RGBrgb(103, 29, 141)
HSLhsl(280, 66%, 33%)
HSVhsv(280, 79%, 55%)
CMYKcmyk(27%, 79.4%, 0%, 44.7%)
CIE-LABlab(28.61, 50.21, -46.73)
CIE-LCHlch(28.61, 68.59, 317.06°)
OKLaboklab(40.72% 0.1145 -0.1325)
OKLCHoklch(40.72% 0.175 310.8)
XYZxyz(10.8397, 5.6856, 25.7206)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D8D #438D1D
analogous
#2F1D8D #671D8D #8D1D7B
triadic
#671D8D #8D671D #1D8D67
tetradic
#671D8D #8D2F1D #438D1D #1D7B8D
square
#671D8D #8D2F1D #438D1D #1D7B8D
split-complementary
#671D8D #7B8D1D #1D8D2F
monochromatic
#1D0827 #42135A #671D8D #8C27C0 #A94BDA

Accessibility & contrast

On white

9.83
#671D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671D8D
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671D8D#FFFFFF#000000##FFFFFF
##671D8D1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00458B
Tritanopia (blue-blind)
#623855
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671d8d;
/* rgb */ color: rgb(103, 29, 141);
/* oklch */ color: oklch(40.7% 0.175 310.8);
Tailwind
colors: {
  custom: {
    50: '#9762af',
    500: '#671d8d',
    950: '#000000',
  },
}
SCSS
$custom: #671d8d;
$custom-light: #9762af;
$custom-dark: #000000;
JSON
{
  "hex": "#671d8d",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 279.643,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40716,
    "c": 0.17509,
    "h": 310.8
  },
  "luminance": 0.05685
}

Semantic roles & 50–950 ramp

primary
#671D8D
secondary
#71BC4A
accent
#E93F79
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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