#671E7E#671E7E

#671E7E is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.160 H 316.7°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#671E7E
RGBrgb(103, 30, 126)
HSLhsl(286, 62%, 31%)
HSVhsv(286, 76%, 49%)
CMYKcmyk(18.3%, 76.2%, 0%, 50.6%)
CIE-LABlab(27.62, 46.61, -38.93)
CIE-LCHlch(27.62, 60.73, 320.12°)
OKLaboklab(39.67% 0.1161 -0.1096)
OKLCHoklch(39.67% 0.16 316.7)
XYZxyz(9.8231, 5.3189, 20.2438)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E7E #357E1E
analogous
#371E7E #671E7E #7E1E65
triadic
#671E7E #7E671E #1E7E67
tetradic
#671E7E #7E371E #357E1E #1E657E
square
#671E7E #7E371E #357E1E #1E657E
split-complementary
#671E7E #657E1E #1E7E37
monochromatic
#16061B #3F124D #671E7E #8F2AAF #B044D2

Accessibility & contrast

On white

10.18
#671E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#671E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671E7E
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E7E#FFFFFF#000000##FFFFFF
##671E7E1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#1F437C
Tritanopia (blue-blind)
#66324C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671e7e;
/* rgb */ color: rgb(103, 30, 126);
/* oklch */ color: oklch(39.7% 0.160 316.7);
Tailwind
colors: {
  custom: {
    50: '#9662a4',
    500: '#671e7e',
    950: '#000000',
  },
}
SCSS
$custom: #671e7e;
$custom-light: #9662a4;
$custom-dark: #000000;
JSON
{
  "hex": "#671e7e",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 285.625,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39672,
    "c": 0.15966,
    "h": 316.7
  },
  "luminance": 0.05318
}

Semantic roles & 50–950 ramp

primary
#671E7E
secondary
#60B147
accent
#E5436A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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