#671C8F#671C8F

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

Color values

HEX#671C8F
RGBrgb(103, 28, 143)
HSLhsl(279, 67%, 34%)
HSVhsv(279, 80%, 56%)
CMYKcmyk(28%, 80.4%, 0%, 43.9%)
CIE-LABlab(28.64, 51.01, -47.92)
CIE-LCHlch(28.64, 69.99, 316.79°)
OKLaboklab(40.79% 0.1149 -0.1359)
OKLCHoklch(40.79% 0.178 310.2)
XYZxyz(10.9657, 5.6975, 26.5033)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C8F #448F1C
analogous
#2D1C8F #671C8F #8F1C7D
triadic
#671C8F #8F671C #1C8F67
tetradic
#671C8F #8F2D1C #448F1C #1C7D8F
square
#671C8F #8F2D1C #448F1C #1C7D8F
split-complementary
#671C8F #7D8F1C #1C8F2D
monochromatic
#1D0829 #42125C #671C8F #8C26C2 #A94ADC

Accessibility & contrast

On white

9.82
#671C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671C8F
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C8F#FFFFFF#000000##FFFFFF
##671C8F1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#613956
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671c8f;
/* rgb */ color: rgb(103, 28, 143);
/* oklch */ color: oklch(40.8% 0.178 310.2);
Tailwind
colors: {
  custom: {
    50: '#9762b1',
    500: '#671c8f',
    950: '#000000',
  },
}
SCSS
$custom: #671c8f;
$custom-light: #9762b1;
$custom-dark: #000000;
JSON
{
  "hex": "#671c8f",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 279.13,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40787,
    "c": 0.17802,
    "h": 310.2
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

primary
#671C8F
secondary
#72BE49
accent
#EA3E7A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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