#671E7B#671E7B

#671E7B is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.157 H 318.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#671E7B
RGBrgb(103, 30, 123)
HSLhsl(287, 61%, 30%)
HSVhsv(287, 76%, 48%)
CMYKcmyk(16.3%, 75.6%, 0%, 51.8%)
CIE-LABlab(27.41, 45.98, -37.38)
CIE-LCHlch(27.41, 59.26, 320.89°)
OKLaboklab(39.46% 0.1165 -0.105)
OKLCHoklch(39.46% 0.157 318)
XYZxyz(9.6324, 5.2426, 19.2396)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E7B #327B1E
analogous
#391E7B #671E7B #7B1E60
triadic
#671E7B #7B671E #1E7B67
tetradic
#671E7B #7B391E #327B1E #1E607B
square
#671E7B #7B391E #327B1E #1E607B
split-complementary
#671E7B #607B1E #1E7B39
monochromatic
#150619 #3E124A #671E7B #902AAC #B242D1

Accessibility & contrast

On white

10.25
#671E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#671E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671E7B
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E7B#FFFFFF#000000##FFFFFF
##671E7B1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#224379
Tritanopia (blue-blind)
#66314B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671e7b;
/* rgb */ color: rgb(103, 30, 123);
/* oklch */ color: oklch(39.5% 0.157 318.0);
Tailwind
colors: {
  custom: {
    50: '#9662a2',
    500: '#671e7b',
    950: '#000000',
  },
}
SCSS
$custom: #671e7b;
$custom-light: #9662a2;
$custom-dark: #000000;
JSON
{
  "hex": "#671e7b",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 287.097,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.39456,
    "c": 0.15681,
    "h": 318
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#671E7B
secondary
#5DAE46
accent
#E44466
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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