#671B99#671B99

#671B99 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.188 H 306.9°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#671B99
RGBrgb(103, 27, 153)
HSLhsl(276, 70%, 35%)
HSVhsv(276, 82%, 60%)
CMYKcmyk(32.7%, 82.4%, 0%, 40%)
CIE-LABlab(29.33, 53.58, -52.94)
CIE-LCHlch(29.33, 75.32, 315.34°)
OKLaboklab(41.53% 0.1132 -0.1507)
OKLCHoklch(41.53% 0.188 306.9)
XYZxyz(11.7340, 5.9675, 30.6645)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B99 #4D991B
analogous
#281B99 #671B99 #991B8C
triadic
#671B99 #99671B #1B9967
tetradic
#671B99 #99281B #4D991B #1B8C99
square
#671B99 #99281B #4D991B #1B8C99
split-complementary
#671B99 #8C991B #1B9928
monochromatic
#210931 #441265 #671B99 #8A24CD #A64FE0

Accessibility & contrast

On white

9.57
#671B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#671B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B99
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B99#FFFFFF#000000##FFFFFF
##671B991.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#5E3D5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #671b99;
/* rgb */ color: rgb(103, 27, 153);
/* oklch */ color: oklch(41.5% 0.188 306.9);
Tailwind
colors: {
  custom: {
    50: '#9862b8',
    500: '#671b99',
    950: '#000000',
  },
}
SCSS
$custom: #671b99;
$custom-light: #9862b8;
$custom-dark: #000000;
JSON
{
  "hex": "#671b99",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 153
  },
  "hsl": {
    "h": 276.19,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41526,
    "c": 0.18846,
    "h": 306.9
  },
  "luminance": 0.05967
}

Semantic roles & 50–950 ramp

primary
#671B99
secondary
#7CC24E
accent
#ED3B82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671B99

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

Preview Lab → · Contrast checker → · Palette generator →

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