#671B7B#671B7B

#671B7B is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.160 H 318.2°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#671B7B
RGBrgb(103, 27, 123)
HSLhsl(288, 64%, 29%)
HSVhsv(288, 78%, 48%)
CMYKcmyk(16.3%, 78%, 0%, 51.8%)
CIE-LABlab(27.01, 47.13, -38.02)
CIE-LCHlch(27.01, 60.56, 321.11°)
OKLaboklab(39.17% 0.1195 -0.1069)
OKLCHoklch(39.17% 0.16 318.2)
XYZxyz(9.5601, 5.0979, 19.2155)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B7B #2F7B1B
analogous
#371B7B #671B7B #7B1B5F
triadic
#671B7B #7B671B #1B7B67
tetradic
#671B7B #7B371B #2F7B1B #1B5F7B
square
#671B7B #7B371B #2F7B1B #1B5F7B
split-complementary
#671B7B #5F7B1B #1B7B37
monochromatic
#150619 #3D1049 #671B7B #9126AD #B53CD4

Accessibility & contrast

On white

10.40
#671B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#671B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B7B
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B7B#FFFFFF#000000##FFFFFF
##671B7B1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#204279
Tritanopia (blue-blind)
#662F4A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671b7b;
/* rgb */ color: rgb(103, 27, 123);
/* oklch */ color: oklch(39.2% 0.160 318.2);
Tailwind
colors: {
  custom: {
    50: '#9660a2',
    500: '#671b7b',
    950: '#000000',
  },
}
SCSS
$custom: #671b7b;
$custom-light: #9660a2;
$custom-dark: #000000;
JSON
{
  "hex": "#671b7b",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 287.5,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3917,
    "c": 0.1603,
    "h": 318.2
  },
  "luminance": 0.05097
}

Semantic roles & 50–950 ramp

primary
#671B7B
secondary
#59AF43
accent
#E74163
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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