#671B88#671B88

#671B88 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.172 H 312.9°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#671B88
RGBrgb(103, 27, 136)
HSLhsl(282, 67%, 32%)
HSVhsv(282, 80%, 53%)
CMYKcmyk(24.3%, 80.1%, 0%, 46.7%)
CIE-LABlab(27.97, 49.85, -44.65)
CIE-LCHlch(27.97, 66.93, 318.15°)
OKLaboklab(40.15% 0.1173 -0.1263)
OKLCHoklch(40.15% 0.172 312.9)
XYZxyz(10.4286, 5.4453, 23.7895)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B88 #3C881B
analogous
#311B88 #671B88 #881B73
triadic
#671B88 #88671B #1B8867
tetradic
#671B88 #88311B #3C881B #1B7388
square
#671B88 #88311B #3C881B #1B7388
split-complementary
#671B88 #73881B #1B8831
monochromatic
#1A0722 #401155 #671B88 #8E25BB #AC44DA

Accessibility & contrast

On white

10.05
#671B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#671B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B88
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B88#FFFFFF#000000##FFFFFF
##671B881.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#0A4486
Tritanopia (blue-blind)
#633551
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #671b88;
/* rgb */ color: rgb(103, 27, 136);
/* oklch */ color: oklch(40.1% 0.172 312.9);
Tailwind
colors: {
  custom: {
    50: '#9761ab',
    500: '#671b88',
    950: '#000000',
  },
}
SCSS
$custom: #671b88;
$custom-light: #9761ab;
$custom-dark: #000000;
JSON
{
  "hex": "#671b88",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 281.835,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40147,
    "c": 0.17241,
    "h": 312.9
  },
  "luminance": 0.05445
}

Semantic roles & 50–950 ramp

primary
#671B88
secondary
#68BB44
accent
#EA3E72
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671B88

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

Preview Lab → · Contrast checker → · Palette generator →

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