#671F99#671F99

#671F99 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.185 H 306.5°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#671F99
RGBrgb(103, 31, 153)
HSLhsl(275, 66%, 36%)
HSVhsv(275, 80%, 60%)
CMYKcmyk(32.7%, 79.7%, 0%, 40%)
CIE-LABlab(29.82, 52.15, -52.14)
CIE-LCHlch(29.82, 73.74, 315.01°)
OKLaboklab(41.87% 0.11 -0.1484)
OKLCHoklch(41.87% 0.185 306.5)
XYZxyz(11.8320, 6.1636, 30.6972)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F99 #51991F
analogous
#2A1F99 #671F99 #991F8E
triadic
#671F99 #99671F #1F9967
tetradic
#671F99 #992A1F #51991F #1F8E99
square
#671F99 #992A1F #51991F #1F8E99
split-complementary
#671F99 #8E991F #1F992A
monochromatic
#220A33 #451566 #671F99 #8929CC #A556DD

Accessibility & contrast

On white

9.41
#671F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671F99
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F99#FFFFFF#000000##FFFFFF
##671F991.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#5E3F5C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #671f99;
/* rgb */ color: rgb(103, 31, 153);
/* oklch */ color: oklch(41.9% 0.185 306.5);
Tailwind
colors: {
  custom: {
    50: '#9864b8',
    500: '#671f99',
    950: '#000000',
  },
}
SCSS
$custom: #671f99;
$custom-light: #9864b8;
$custom-dark: #000000;
JSON
{
  "hex": "#671f99",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 275.41,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41869,
    "c": 0.18469,
    "h": 306.5
  },
  "luminance": 0.06163
}

Semantic roles & 50–950 ramp

primary
#671F99
secondary
#80C054
accent
#E93F85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671F99

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

Preview Lab → · Contrast checker → · Palette generator →

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