#671F7E#671F7E

#671F7E is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.158 H 316.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#671F7E
RGBrgb(103, 31, 126)
HSLhsl(285, 61%, 31%)
HSVhsv(285, 75%, 49%)
CMYKcmyk(18.3%, 75.4%, 0%, 50.6%)
CIE-LABlab(27.76, 46.21, -38.71)
CIE-LCHlch(27.76, 60.28, 320.05°)
OKLaboklab(39.77% 0.1151 -0.1089)
OKLCHoklch(39.77% 0.158 316.6)
XYZxyz(9.8488, 5.3703, 20.2524)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F7E #367E1F
analogous
#371F7E #671F7E #7E1F65
triadic
#671F7E #7E671F #1F7E67
tetradic
#671F7E #7E371F #367E1F #1F657E
square
#671F7E #7E371F #367E1F #1F657E
split-complementary
#671F7E #657E1F #1F7E37
monochromatic
#17071C #3F134D #671F7E #8F2BAF #B046D1

Accessibility & contrast

On white

10.13
#671F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#671F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F7E
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F7E#FFFFFF#000000##FFFFFF
##671F7E1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#1F447C
Tritanopia (blue-blind)
#66334D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #671f7e;
/* rgb */ color: rgb(103, 31, 126);
/* oklch */ color: oklch(39.8% 0.158 316.6);
Tailwind
colors: {
  custom: {
    50: '#9662a4',
    500: '#671f7e',
    950: '#000000',
  },
}
SCSS
$custom: #671f7e;
$custom-light: #9662a4;
$custom-dark: #000000;
JSON
{
  "hex": "#671f7e",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 285.474,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39771,
    "c": 0.15847,
    "h": 316.6
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#671F7E
secondary
#61B148
accent
#E4446B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #671F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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