#671C88#671C88

#671C88 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.171 H 312.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#671C88
RGBrgb(103, 28, 136)
HSLhsl(282, 66%, 32%)
HSVhsv(282, 79%, 53%)
CMYKcmyk(24.3%, 79.4%, 0%, 46.7%)
CIE-LABlab(28.09, 49.49, -44.45)
CIE-LCHlch(28.09, 66.52, 318.07°)
OKLaboklab(40.24% 0.1164 -0.1258)
OKLCHoklch(40.24% 0.171 312.8)
XYZxyz(10.4519, 5.4920, 23.7973)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C88 #3D881C
analogous
#311C88 #671C88 #881C73
triadic
#671C88 #88671C #1C8867
tetradic
#671C88 #88311C #3D881C #1C7388
square
#671C88 #88311C #3D881C #1C7388
split-complementary
#671C88 #73881C #1C8831
monochromatic
#1A0722 #411255 #671C88 #8D26BB #AC46D9

Accessibility & contrast

On white

10.01
#671C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#671C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671C88
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C88#FFFFFF#000000##FFFFFF
##671C881.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671c88;
/* rgb */ color: rgb(103, 28, 136);
/* oklch */ color: oklch(40.2% 0.171 312.8);
Tailwind
colors: {
  custom: {
    50: '#9662ab',
    500: '#671c88',
    950: '#000000',
  },
}
SCSS
$custom: #671c88;
$custom-light: #9662ab;
$custom-dark: #000000;
JSON
{
  "hex": "#671c88",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 136
  },
  "hsl": {
    "h": 281.667,
    "s": 65.854,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40235,
    "c": 0.17137,
    "h": 312.8
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#671C88
secondary
#69BA45
accent
#E93F73
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671C88

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

Preview Lab → · Contrast checker → · Palette generator →

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