#671D7C#671D7C

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

Color values

HEX#671D7C
RGBrgb(103, 29, 124)
HSLhsl(287, 62%, 30%)
HSVhsv(287, 77%, 49%)
CMYKcmyk(16.9%, 76.6%, 0%, 51.4%)
CIE-LABlab(27.35, 46.58, -38.12)
CIE-LCHlch(27.35, 60.19, 320.70°)
OKLaboklab(39.43% 0.1174 -0.1072)
OKLCHoklch(39.43% 0.159 317.6)
XYZxyz(9.6704, 5.2180, 19.5627)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D7C #327C1D
analogous
#381D7C #671D7C #7C1D61
triadic
#671D7C #7C671D #1D7C67
tetradic
#671D7C #7C381D #327C1D #1D617C
square
#671D7C #7C381D #327C1D #1D617C
split-complementary
#671D7C #617C1D #1D7C38
monochromatic
#150619 #3E114A #671D7C #9029AE #B241D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##671D7C#FFFFFF#000000##FFFFFF
##671D7C1.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)
#003C7F
Deuteranopia (green-blind)
#20437A
Tritanopia (blue-blind)
#66314B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671d7c;
/* rgb */ color: rgb(103, 29, 124);
/* oklch */ color: oklch(39.4% 0.159 317.6);
Tailwind
colors: {
  custom: {
    50: '#9661a2',
    500: '#671d7c',
    950: '#000000',
  },
}
SCSS
$custom: #671d7c;
$custom-light: #9661a2;
$custom-dark: #000000;
JSON
{
  "hex": "#671d7c",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 286.737,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.3943,
    "c": 0.15894,
    "h": 317.6
  },
  "luminance": 0.05218
}

Semantic roles & 50–950 ramp

primary
#671D7C
secondary
#5DB045
accent
#E54367
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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