#671F8C#671F8C

#671F8C is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.172 H 311.0°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#671F8C
RGBrgb(103, 31, 140)
HSLhsl(280, 64%, 34%)
HSVhsv(280, 78%, 55%)
CMYKcmyk(26.4%, 77.9%, 0%, 45.1%)
CIE-LABlab(28.79, 49.23, -45.81)
CIE-LCHlch(28.79, 67.24, 317.06°)
OKLaboklab(40.82% 0.1129 -0.1298)
OKLCHoklch(40.82% 0.172 311)
XYZxyz(10.8162, 5.7573, 25.3473)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F8C #448C1F
analogous
#301F8C #671F8C #8C1F7A
triadic
#671F8C #8C671F #1F8C67
tetradic
#671F8C #8C301F #448C1F #1F7A8C
square
#671F8C #8C301F #448C1F #1F7A8C
split-complementary
#671F8C #7A8C1F #1F8C30
monochromatic
#1D0928 #42145A #671F8C #8C2ABE #A94ED8

Accessibility & contrast

On white

9.76
#671F8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671F8C
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F8C#FFFFFF#000000##FFFFFF
##671F8C1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#06458A
Tritanopia (blue-blind)
#623955
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671f8c;
/* rgb */ color: rgb(103, 31, 140);
/* oklch */ color: oklch(40.8% 0.172 311.0);
Tailwind
colors: {
  custom: {
    50: '#9763ae',
    500: '#671f8c',
    950: '#000000',
  },
}
SCSS
$custom: #671f8c;
$custom-light: #9763ae;
$custom-dark: #000000;
JSON
{
  "hex": "#671f8c",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 140
  },
  "hsl": {
    "h": 279.633,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40823,
    "c": 0.172,
    "h": 311
  },
  "luminance": 0.05757
}

Semantic roles & 50–950 ramp

primary
#671F8C
secondary
#72BB4C
accent
#E74179
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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