#671A7F#671A7F

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

Color values

HEX#671A7F
RGBrgb(103, 26, 127)
HSLhsl(286, 66%, 30%)
HSVhsv(286, 80%, 50%)
CMYKcmyk(18.9%, 79.5%, 0%, 50.2%)
CIE-LABlab(27.17, 48.32, -40.29)
CIE-LCHlch(27.17, 62.91, 320.17°)
OKLaboklab(39.37% 0.1198 -0.1135)
OKLCHoklch(39.37% 0.165 316.5)
XYZxyz(9.7931, 5.1551, 20.5537)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A7F #327F1A
analogous
#351A7F #671A7F #7F1A64
triadic
#671A7F #7F671A #1A7F67
tetradic
#671A7F #7F351A #327F1A #1A647F
square
#671A7F #7F351A #327F1A #1A647F
split-complementary
#671A7F #647F1A #1A7F35
monochromatic
#150519 #3E104C #671A7F #9024B2 #B23CD7

Accessibility & contrast

On white

10.34
#671A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#671A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A7F
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A7F#FFFFFF#000000##FFFFFF
##671A7F1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#1A427D
Tritanopia (blue-blind)
#66314C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671a7f;
/* rgb */ color: rgb(103, 26, 127);
/* oklch */ color: oklch(39.4% 0.165 316.5);
Tailwind
colors: {
  custom: {
    50: '#9660a5',
    500: '#671a7f',
    950: '#000000',
  },
}
SCSS
$custom: #671a7f;
$custom-light: #9660a5;
$custom-dark: #000000;
JSON
{
  "hex": "#671a7f",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 285.743,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.39374,
    "c": 0.16507,
    "h": 316.5
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#671A7F
secondary
#5DB342
accent
#E93F67
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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