#671E7D#671E7D

#671E7D is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.159 H 317.1°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#671E7D
RGBrgb(103, 30, 125)
HSLhsl(286, 61%, 30%)
HSVhsv(286, 76%, 49%)
CMYKcmyk(17.6%, 76%, 0%, 51%)
CIE-LABlab(27.55, 46.40, -38.42)
CIE-LCHlch(27.55, 60.24, 320.37°)
OKLaboklab(39.6% 0.1162 -0.1081)
OKLCHoklch(39.6% 0.159 317.1)
XYZxyz(9.7589, 5.2932, 19.9057)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E7D #347D1E
analogous
#371E7D #671E7D #7D1E63
triadic
#671E7D #7D671E #1E7D67
tetradic
#671E7D #7D371E #347D1E #1E637D
square
#671E7D #7D371E #347D1E #1E637D
split-complementary
#671E7D #637D1E #1E7D37
monochromatic
#16061A #3E124C #671E7D #902AAE #B143D2

Accessibility & contrast

On white

10.20
#671E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671E7D
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E7D#FFFFFF#000000##FFFFFF
##671E7D1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#20437B
Tritanopia (blue-blind)
#66324C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671e7d;
/* rgb */ color: rgb(103, 30, 125);
/* oklch */ color: oklch(39.6% 0.159 317.1);
Tailwind
colors: {
  custom: {
    50: '#9662a3',
    500: '#671e7d',
    950: '#000000',
  },
}
SCSS
$custom: #671e7d;
$custom-light: #9662a3;
$custom-dark: #000000;
JSON
{
  "hex": "#671e7d",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 286.105,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39599,
    "c": 0.15871,
    "h": 317.1
  },
  "luminance": 0.05293
}

Semantic roles & 50–950 ramp

primary
#671E7D
secondary
#5FB046
accent
#E44369
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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