#671F9A#671F9A

#671F9A is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.186 H 306.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#671F9A
RGBrgb(103, 31, 154)
HSLhsl(275, 66%, 36%)
HSVhsv(275, 80%, 60%)
CMYKcmyk(33.1%, 79.9%, 0%, 39.6%)
CIE-LABlab(29.90, 52.38, -52.62)
CIE-LCHlch(29.90, 74.24, 314.87°)
OKLaboklab(41.95% 0.1097 -0.1498)
OKLCHoklch(41.95% 0.186 306.2)
XYZxyz(11.9150, 6.1967, 31.1340)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F9A #529A1F
analogous
#2A1F9A #671F9A #9A1F90
triadic
#671F9A #9A671F #1F9A67
tetradic
#671F9A #9A2A1F #529A1F #1F909A
square
#671F9A #9A2A1F #529A1F #1F909A
split-complementary
#671F9A #909A1F #1F9A2A
monochromatic
#230A34 #451567 #671F9A #8929CD #A556DD

Accessibility & contrast

On white

9.38
#671F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#671F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F9A
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F9A#FFFFFF#000000##FFFFFF
##671F9A1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#5E3F5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #671f9a;
/* rgb */ color: rgb(103, 31, 154);
/* oklch */ color: oklch(42.0% 0.186 306.2);
Tailwind
colors: {
  custom: {
    50: '#9864b9',
    500: '#671f9a',
    950: '#000000',
  },
}
SCSS
$custom: #671f9a;
$custom-light: #9864b9;
$custom-dark: #000000;
JSON
{
  "hex": "#671f9a",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 275.122,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41952,
    "c": 0.18567,
    "h": 306.2
  },
  "luminance": 0.06197
}

Semantic roles & 50–950 ramp

primary
#671F9A
secondary
#81C154
accent
#E93E85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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