#671C9D#671C9D

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

Color values

HEX#671C9D
RGBrgb(103, 28, 157)
HSLhsl(275, 70%, 36%)
HSVhsv(275, 82%, 62%)
CMYKcmyk(34.4%, 82.2%, 0%, 38.4%)
CIE-LABlab(29.78, 54.14, -54.64)
CIE-LCHlch(29.78, 76.92, 314.73°)
OKLaboklab(41.95% 0.1113 -0.1557)
OKLCHoklch(41.95% 0.191 305.5)
XYZxyz(12.0932, 6.1485, 32.4414)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C9D #529D1C
analogous
#271C9D #671C9D #9D1C93
triadic
#671C9D #9D671C #1C9D67
tetradic
#671C9D #9D271C #529D1C #1C939D
square
#671C9D #9D271C #529D1C #1C939D
split-complementary
#671C9D #939D1C #1C9D27
monochromatic
#230935 #451369 #671C9D #8925D1 #A553E0

Accessibility & contrast

On white

9.42
#671C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#671C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671C9D
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C9D#FFFFFF#000000##FFFFFF
##671C9D1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#5D3F5E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #671c9d;
/* rgb */ color: rgb(103, 28, 157);
/* oklch */ color: oklch(41.9% 0.191 305.5);
Tailwind
colors: {
  custom: {
    50: '#9863bb',
    500: '#671c9d',
    950: '#000000',
  },
}
SCSS
$custom: #671c9d;
$custom-light: #9863bb;
$custom-dark: #000000;
JSON
{
  "hex": "#671c9d",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 274.884,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41946,
    "c": 0.19138,
    "h": 305.5
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#671C9D
secondary
#81C351
accent
#ED3B85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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