#671E9A#671E9A

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

Color values

HEX#671E9A
RGBrgb(103, 30, 154)
HSLhsl(275, 67%, 36%)
HSVhsv(275, 81%, 60%)
CMYKcmyk(33.1%, 80.5%, 0%, 39.6%)
CIE-LABlab(29.78, 52.75, -52.82)
CIE-LCHlch(29.78, 74.65, 314.96°)
OKLaboklab(41.86% 0.1105 -0.1504)
OKLCHoklch(41.86% 0.187 306.3)
XYZxyz(11.8892, 6.1453, 31.1254)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E9A #519A1E
analogous
#291E9A #671E9A #9A1E8F
triadic
#671E9A #9A671E #1E9A67
tetradic
#671E9A #9A291E #519A1E #1E8F9A
square
#671E9A #9A291E #519A1E #1E8F9A
split-complementary
#671E9A #8F9A1E #1E9A29
monochromatic
#220A34 #451467 #671E9A #8928CD #A555DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##671E9A#FFFFFF#000000##FFFFFF
##671E9A1.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)
#00449D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#5E3F5C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #671e9a;
/* rgb */ color: rgb(103, 30, 154);
/* oklch */ color: oklch(41.9% 0.187 306.3);
Tailwind
colors: {
  custom: {
    50: '#9863b9',
    500: '#671e9a',
    950: '#000000',
  },
}
SCSS
$custom: #671e9a;
$custom-light: #9863b9;
$custom-dark: #000000;
JSON
{
  "hex": "#671e9a",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 275.323,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41863,
    "c": 0.18664,
    "h": 306.3
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#671E9A
secondary
#80C153
accent
#EA3E85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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