#671E7A#671E7A

#671E7A is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.156 H 318.4°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#671E7A
RGBrgb(103, 30, 122)
HSLhsl(288, 61%, 30%)
HSVhsv(288, 75%, 48%)
CMYKcmyk(15.6%, 75.4%, 0%, 52.2%)
CIE-LABlab(27.35, 45.77, -36.85)
CIE-LCHlch(27.35, 58.77, 321.16°)
OKLaboklab(39.39% 0.1166 -0.1035)
OKLCHoklch(39.39% 0.156 318.4)
XYZxyz(9.5702, 5.2177, 18.9116)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E7A #317A1E
analogous
#391E7A #671E7A #7A1E5F
triadic
#671E7A #7A671E #1E7A67
tetradic
#671E7A #7A391E #317A1E #1E5F7A
square
#671E7A #7A391E #317A1E #1E5F7A
split-complementary
#671E7A #5F7A1E #1E7A39
monochromatic
#150619 #3E1249 #671E7A #902AAB #B342D0

Accessibility & contrast

On white

10.28
#671E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#671E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671E7A
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E7A#FFFFFF#000000##FFFFFF
##671E7A1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#234378
Tritanopia (blue-blind)
#67314A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671e7a;
/* rgb */ color: rgb(103, 30, 122);
/* oklch */ color: oklch(39.4% 0.156 318.4);
Tailwind
colors: {
  custom: {
    50: '#9662a1',
    500: '#671e7a',
    950: '#000000',
  },
}
SCSS
$custom: #671e7a;
$custom-light: #9662a1;
$custom-dark: #000000;
JSON
{
  "hex": "#671e7a",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 287.609,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39385,
    "c": 0.15587,
    "h": 318.4
  },
  "luminance": 0.05217
}

Semantic roles & 50–950 ramp

primary
#671E7A
secondary
#5CAE46
accent
#E44465
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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