#671C8D#671C8D

#671C8D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.176 H 310.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#671C8D
RGBrgb(103, 28, 141)
HSLhsl(280, 67%, 33%)
HSVhsv(280, 80%, 55%)
CMYKcmyk(27%, 80.1%, 0%, 44.7%)
CIE-LABlab(28.48, 50.57, -46.93)
CIE-LCHlch(28.48, 69.00, 317.14°)
OKLaboklab(40.63% 0.1154 -0.1331)
OKLCHoklch(40.63% 0.176 310.9)
XYZxyz(10.8156, 5.6374, 25.7125)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C8D #428D1C
analogous
#2E1C8D #671C8D #8D1C7A
triadic
#671C8D #8D671C #1C8D67
tetradic
#671C8D #8D2E1C #428D1C #1C7A8D
square
#671C8D #8D2E1C #428D1C #1C7A8D
split-complementary
#671C8D #7A8D1C #1C8D2E
monochromatic
#1C0827 #42125A #671C8D #8C26C0 #AA49DB

Accessibility & contrast

On white

9.87
#671C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#671C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671C8D
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C8D#FFFFFF#000000##FFFFFF
##671C8D1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671c8d;
/* rgb */ color: rgb(103, 28, 141);
/* oklch */ color: oklch(40.6% 0.176 310.9);
Tailwind
colors: {
  custom: {
    50: '#9762af',
    500: '#671c8d',
    950: '#000000',
  },
}
SCSS
$custom: #671c8d;
$custom-light: #9762af;
$custom-dark: #000000;
JSON
{
  "hex": "#671c8d",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 279.823,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40627,
    "c": 0.17612,
    "h": 310.9
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#671C8D
secondary
#6FBD48
accent
#EA3E78
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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