#671C9C#671C9C

#671C9C is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.190 H 305.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#671C9C
RGBrgb(103, 28, 156)
HSLhsl(275, 70%, 36%)
HSVhsv(275, 82%, 61%)
CMYKcmyk(34%, 82.1%, 0%, 38.8%)
CIE-LABlab(29.70, 53.91, -54.17)
CIE-LCHlch(29.70, 76.42, 314.86°)
OKLaboklab(41.86% 0.1116 -0.1543)
OKLCHoklch(41.86% 0.19 305.9)
XYZxyz(12.0082, 6.1145, 31.9936)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C9C #519C1C
analogous
#271C9C #671C9C #9C1C91
triadic
#671C9C #9C671C #1C9C67
tetradic
#671C9C #9C271C #519C1C #1C919C
square
#671C9C #9C271C #519C1C #1C919C
split-complementary
#671C9C #919C1C #1C9C27
monochromatic
#220934 #451368 #671C9C #8925D0 #A552E0

Accessibility & contrast

On white

9.45
#671C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#671C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671C9C
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C9C#FFFFFF#000000##FFFFFF
##671C9C1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#5D3F5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #671c9c;
/* rgb */ color: rgb(103, 28, 156);
/* oklch */ color: oklch(41.9% 0.190 305.9);
Tailwind
colors: {
  custom: {
    50: '#9863ba',
    500: '#671c9c',
    950: '#000000',
  },
}
SCSS
$custom: #671c9c;
$custom-light: #9863ba;
$custom-dark: #000000;
JSON
{
  "hex": "#671c9c",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 156
  },
  "hsl": {
    "h": 275.156,
    "s": 69.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41861,
    "c": 0.19042,
    "h": 305.9
  },
  "luminance": 0.06114
}

Semantic roles & 50–950 ramp

primary
#671C9C
secondary
#80C351
accent
#EC3B85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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