#671F96#671F96

#671F96 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.182 H 307.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#671F96
RGBrgb(103, 31, 150)
HSLhsl(276, 66%, 35%)
HSVhsv(276, 79%, 59%)
CMYKcmyk(31.3%, 79.3%, 0%, 41.2%)
CIE-LABlab(29.58, 51.47, -50.70)
CIE-LCHlch(29.58, 72.25, 315.43°)
OKLaboklab(41.62% 0.1107 -0.1441)
OKLCHoklch(41.62% 0.182 307.5)
XYZxyz(11.5874, 6.0657, 29.4086)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F96 #4E961F
analogous
#2C1F96 #671F96 #961F89
triadic
#671F96 #96671F #1F9667
tetradic
#671F96 #962C1F #4E961F #1F8996
square
#671F96 #962C1F #4E961F #1F8996
split-complementary
#671F96 #89961F #1F962C
monochromatic
#210A31 #441563 #671F96 #8A29C9 #A654DC

Accessibility & contrast

On white

9.49
#671F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#671F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F96
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F96#FFFFFF#000000##FFFFFF
##671F961.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#5F3D5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #671f96;
/* rgb */ color: rgb(103, 31, 150);
/* oklch */ color: oklch(41.6% 0.182 307.5);
Tailwind
colors: {
  custom: {
    50: '#9764b6',
    500: '#671f96',
    950: '#000000',
  },
}
SCSS
$custom: #671f96;
$custom-light: #9764b6;
$custom-dark: #000000;
JSON
{
  "hex": "#671f96",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 276.303,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41622,
    "c": 0.18176,
    "h": 307.5
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#671F96
secondary
#7DBF52
accent
#E93F82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671F96

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

Preview Lab → · Contrast checker → · Palette generator →

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