#671F7D#671F7D

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

Color values

HEX#671F7D
RGBrgb(103, 31, 125)
HSLhsl(286, 60%, 31%)
HSVhsv(286, 75%, 49%)
CMYKcmyk(17.6%, 75.2%, 0%, 51%)
CIE-LABlab(27.69, 46.00, -38.19)
CIE-LCHlch(27.69, 59.78, 320.30°)
OKLaboklab(39.7% 0.1152 -0.1074)
OKLCHoklch(39.7% 0.158 317)
XYZxyz(9.7846, 5.3446, 19.9143)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F7D #357D1F
analogous
#381F7D #671F7D #7D1F64
triadic
#671F7D #7D671F #1F7D67
tetradic
#671F7D #7D381F #357D1F #1F647D
square
#671F7D #7D381F #357D1F #1F647D
split-complementary
#671F7D #647D1F #1F7D38
monochromatic
#16071B #3F134C #671F7D #8F2BAE #B045D1

Accessibility & contrast

On white

10.15
#671F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#671F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F7D
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F7D#FFFFFF#000000##FFFFFF
##671F7D1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671f7d;
/* rgb */ color: rgb(103, 31, 125);
/* oklch */ color: oklch(39.7% 0.158 317.0);
Tailwind
colors: {
  custom: {
    50: '#9662a3',
    500: '#671f7d',
    950: '#000000',
  },
}
SCSS
$custom: #671f7d;
$custom-light: #9662a3;
$custom-dark: #000000;
JSON
{
  "hex": "#671f7d",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 285.957,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39699,
    "c": 0.15751,
    "h": 317
  },
  "luminance": 0.05344
}

Semantic roles & 50–950 ramp

primary
#671F7D
secondary
#60B048
accent
#E3446A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #671F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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