#671C7B#671C7B

#671C7B is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.159 H 318.1°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#671C7B
RGBrgb(103, 28, 123)
HSLhsl(287, 63%, 30%)
HSVhsv(287, 77%, 48%)
CMYKcmyk(16.3%, 77.2%, 0%, 51.8%)
CIE-LABlab(27.14, 46.76, -37.81)
CIE-LCHlch(27.14, 60.13, 321.04°)
OKLaboklab(39.26% 0.1185 -0.1063)
OKLCHoklch(39.26% 0.159 318.1)
XYZxyz(9.5834, 5.1446, 19.2232)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C7B #307B1C
analogous
#371C7B #671C7B #7B1C60
triadic
#671C7B #7B671C #1C7B67
tetradic
#671C7B #7B371C #307B1C #1C607B
square
#671C7B #7B371C #307B1C #1C607B
split-complementary
#671C7B #607B1C #1C7B37
monochromatic
#150619 #3D1149 #671C7B #9127AD #B43ED3

Accessibility & contrast

On white

10.35
#671C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671C7B
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C7B#FFFFFF#000000##FFFFFF
##671C7B1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#204279
Tritanopia (blue-blind)
#66304A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671c7b;
/* rgb */ color: rgb(103, 28, 123);
/* oklch */ color: oklch(39.3% 0.159 318.1);
Tailwind
colors: {
  custom: {
    50: '#9661a2',
    500: '#671c7b',
    950: '#000000',
  },
}
SCSS
$custom: #671c7b;
$custom-light: #9661a2;
$custom-dark: #000000;
JSON
{
  "hex": "#671c7b",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 287.368,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39263,
    "c": 0.15916,
    "h": 318.1
  },
  "luminance": 0.05144
}

Semantic roles & 50–950 ramp

primary
#671C7B
secondary
#5AAF44
accent
#E64264
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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