#671D99#671D99

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

Color values

HEX#671D99
RGBrgb(103, 29, 153)
HSLhsl(276, 68%, 36%)
HSVhsv(276, 81%, 60%)
CMYKcmyk(32.7%, 81%, 0%, 40%)
CIE-LABlab(29.57, 52.88, -52.55)
CIE-LCHlch(29.57, 74.55, 315.18°)
OKLaboklab(41.69% 0.1116 -0.1496)
OKLCHoklch(41.69% 0.187 306.7)
XYZxyz(11.7814, 6.0623, 30.6803)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D99 #4F991D
analogous
#291D99 #671D99 #991D8D
triadic
#671D99 #99671D #1D9967
tetradic
#671D99 #99291D #4F991D #1D8D99
square
#671D99 #99291D #4F991D #1D8D99
split-complementary
#671D99 #8D991D #1D9929
monochromatic
#220932 #441366 #671D99 #8A27CC #A652DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##671D99#FFFFFF#000000##FFFFFF
##671D991.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)
#00439C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#5E3E5C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #671d99;
/* rgb */ color: rgb(103, 29, 153);
/* oklch */ color: oklch(41.7% 0.187 306.7);
Tailwind
colors: {
  custom: {
    50: '#9863b8',
    500: '#671d99',
    950: '#000000',
  },
}
SCSS
$custom: #671d99;
$custom-light: #9863b8;
$custom-dark: #000000;
JSON
{
  "hex": "#671d99",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 275.806,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41693,
    "c": 0.18662,
    "h": 306.7
  },
  "luminance": 0.06062
}

Semantic roles & 50–950 ramp

primary
#671D99
secondary
#7EC151
accent
#EB3D83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671D99

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

Preview Lab → · Contrast checker → · Palette generator →

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