#671B82#671B82

#671B82 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.167 H 315.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#671B82
RGBrgb(103, 27, 130)
HSLhsl(284, 66%, 31%)
HSVhsv(284, 79%, 51%)
CMYKcmyk(20.8%, 79.2%, 0%, 49%)
CIE-LABlab(27.52, 48.58, -41.63)
CIE-LCHlch(27.52, 63.98, 319.41°)
OKLaboklab(39.69% 0.1184 -0.1175)
OKLCHoklch(39.69% 0.167 315.2)
XYZxyz(10.0141, 5.2795, 21.6063)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B82 #36821B
analogous
#331B82 #671B82 #821B69
triadic
#671B82 #82671B #1B8267
tetradic
#671B82 #82331B #36821B #1B6982
square
#671B82 #82331B #36821B #1B6982
split-complementary
#671B82 #69821B #1B8233
monochromatic
#17061D #3F104F #671B82 #8F26B5 #B040D7

Accessibility & contrast

On white

10.22
#671B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#671B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B82
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B82#FFFFFF#000000##FFFFFF
##671B821.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#174380
Tritanopia (blue-blind)
#65334E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671b82;
/* rgb */ color: rgb(103, 27, 130);
/* oklch */ color: oklch(39.7% 0.167 315.2);
Tailwind
colors: {
  custom: {
    50: '#9661a7',
    500: '#671b82',
    950: '#000000',
  },
}
SCSS
$custom: #671b82;
$custom-light: #9661a7;
$custom-dark: #000000;
JSON
{
  "hex": "#671b82",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 284.272,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39687,
    "c": 0.16679,
    "h": 315.2
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#671B82
secondary
#61B643
accent
#E93F6C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671B82

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

Preview Lab → · Contrast checker → · Palette generator →

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