#671871#671871

#671871 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.2% C 0.155 H 322.9°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#671871
RGBrgb(103, 24, 113)
HSLhsl(293, 65%, 27%)
HSVhsv(293, 79%, 44%)
CMYKcmyk(8.8%, 78.8%, 0%, 55.7%)
CIE-LABlab(25.95, 46.23, -33.35)
CIE-LCHlch(25.95, 57.01, 324.19°)
OKLaboklab(38.2% 0.1234 -0.0932)
OKLCHoklch(38.2% 0.155 322.9)
XYZxyz(8.9005, 4.7296, 16.0637)
Luminance0.0473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671871 #227118
analogous
#3A1871 #671871 #71184F
triadic
#671871 #716718 #187167
tetradic
#671871 #713A18 #227118 #184F71
square
#671871 #713A18 #227118 #184F71
split-complementary
#671871 #4F7118 #18713A
monochromatic
#170519 #390D3F #671871 #9523A3 #C130D3

Accessibility & contrast

On white

10.79
#671871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#671871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671871
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671871#FFFFFF#000000##FFFFFF
##6718711.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#27406F
Tritanopia (blue-blind)
#692944
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #671871;
/* rgb */ color: rgb(103, 24, 113);
/* oklch */ color: oklch(38.2% 0.155 322.9);
Tailwind
colors: {
  custom: {
    50: '#965f9a',
    500: '#671871',
    950: '#000000',
  },
}
SCSS
$custom: #671871;
$custom-light: #965f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#671871",
  "rgb": {
    "r": 103,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 293.258,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38198,
    "c": 0.15461,
    "h": 322.9
  },
  "luminance": 0.04729
}

Semantic roles & 50–950 ramp

primary
#671871
secondary
#4AA63E
accent
#E84053
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671871

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

Preview Lab → · Contrast checker → · Palette generator →

#671871 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva