#671F7B#671F7B

#671F7B is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.156 H 317.9°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#671F7B
RGBrgb(103, 31, 123)
HSLhsl(287, 60%, 30%)
HSVhsv(287, 75%, 48%)
CMYKcmyk(16.3%, 74.8%, 0%, 51.8%)
CIE-LABlab(27.56, 45.58, -37.15)
CIE-LCHlch(27.56, 58.80, 320.82°)
OKLaboklab(39.56% 0.1154 -0.1043)
OKLCHoklch(39.56% 0.156 317.9)
XYZxyz(9.6582, 5.2940, 19.2482)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F7B #337B1F
analogous
#391F7B #671F7B #7B1F61
triadic
#671F7B #7B671F #1F7B67
tetradic
#671F7B #7B391F #337B1F #1F617B
square
#671F7B #7B391F #337B1F #1F617B
split-complementary
#671F7B #617B1F #1F7B39
monochromatic
#150619 #3E134A #671F7B #902BAC #B244D0

Accessibility & contrast

On white

10.20
#671F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#671F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F7B
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F7B#FFFFFF#000000##FFFFFF
##671F7B1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7E
Deuteranopia (green-blind)
#234379
Tritanopia (blue-blind)
#66324B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671f7b;
/* rgb */ color: rgb(103, 31, 123);
/* oklch */ color: oklch(39.6% 0.156 317.9);
Tailwind
colors: {
  custom: {
    50: '#9662a2',
    500: '#671f7b',
    950: '#000000',
  },
}
SCSS
$custom: #671f7b;
$custom-light: #9662a2;
$custom-dark: #000000;
JSON
{
  "hex": "#671f7b",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 286.957,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39557,
    "c": 0.1556,
    "h": 317.9
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#671F7B
secondary
#5EAE48
accent
#E34567
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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