#671D88#671D88

#671D88 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.170 H 312.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#671D88
RGBrgb(103, 29, 136)
HSLhsl(281, 65%, 32%)
HSVhsv(281, 79%, 53%)
CMYKcmyk(24.3%, 78.7%, 0%, 46.7%)
CIE-LABlab(28.22, 49.12, -44.24)
CIE-LCHlch(28.22, 66.11, 317.99°)
OKLaboklab(40.33% 0.1155 -0.1251)
OKLCHoklch(40.33% 0.17 312.7)
XYZxyz(10.4760, 5.5402, 23.8053)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D88 #3E881D
analogous
#311D88 #671D88 #881D74
triadic
#671D88 #88671D #1D8867
tetradic
#671D88 #88311D #3E881D #1D7488
square
#671D88 #88311D #3E881D #1D7488
split-complementary
#671D88 #74881D #1D8831
monochromatic
#1B0723 #411256 #671D88 #8D28BA #AB48D8

Accessibility & contrast

On white

9.96
#671D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#671D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671D88
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671D88#FFFFFF#000000##FFFFFF
##671D881.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#0E4486
Tritanopia (blue-blind)
#633652
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671d88;
/* rgb */ color: rgb(103, 29, 136);
/* oklch */ color: oklch(40.3% 0.170 312.7);
Tailwind
colors: {
  custom: {
    50: '#9662ab',
    500: '#671d88',
    950: '#000000',
  },
}
SCSS
$custom: #671d88;
$custom-light: #9662ab;
$custom-dark: #000000;
JSON
{
  "hex": "#671d88",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 281.495,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40325,
    "c": 0.17032,
    "h": 312.7
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#671D88
secondary
#6ABA47
accent
#E84074
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671D88

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

Preview Lab → · Contrast checker → · Palette generator →

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