#671171#671171

#671171 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.7% C 0.161 H 323.2°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#671171
RGBrgb(103, 17, 113)
HSLhsl(294, 74%, 25%)
HSVhsv(294, 85%, 44%)
CMYKcmyk(8.8%, 85%, 0%, 55.7%)
CIE-LABlab(25.19, 48.43, -34.57)
CIE-LCHlch(25.19, 59.50, 324.48°)
OKLaboklab(37.66% 0.1293 -0.0967)
OKLCHoklch(37.66% 0.161 323.2)
XYZxyz(8.7743, 4.4773, 16.0216)
Luminance0.0448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671171 #1B7111
analogous
#371171 #671171 #71114B
triadic
#671171 #716711 #117167
tetradic
#671171 #713711 #1B7111 #114B71
square
#671171 #713711 #1B7111 #114B71
split-complementary
#671171 #4B7111 #117137
monochromatic
#18041B #37093C #671171 #9719A6 #C821DB

Accessibility & contrast

On white

11.08
#671171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#671171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671171
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671171#FFFFFF#000000##FFFFFF
##6711711.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#233F6F
Tritanopia (blue-blind)
#692642
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #671171;
/* rgb */ color: rgb(103, 17, 113);
/* oklch */ color: oklch(37.7% 0.161 323.2);
Tailwind
colors: {
  custom: {
    50: '#965c9a',
    500: '#671171',
    950: '#000000',
  },
}
SCSS
$custom: #671171;
$custom-light: #965c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#671171",
  "rgb": {
    "r": 103,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 293.75,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3766,
    "c": 0.16148,
    "h": 323.2
  },
  "luminance": 0.04477
}

Semantic roles & 50–950 ramp

primary
#671171
secondary
#42A836
accent
#F1374B
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671171

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

Preview Lab → · Contrast checker → · Palette generator →

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