#671F83#671F83

#671F83 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.163 H 314.5°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#671F83
RGBrgb(103, 31, 131)
HSLhsl(283, 62%, 32%)
HSVhsv(283, 76%, 51%)
CMYKcmyk(21.4%, 76.3%, 0%, 48.6%)
CIE-LABlab(28.12, 47.27, -41.28)
CIE-LCHlch(28.12, 62.76, 318.87°)
OKLaboklab(40.14% 0.1144 -0.1165)
OKLCHoklch(40.14% 0.163 314.5)
XYZxyz(10.1796, 5.5026, 21.9942)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F83 #3B831F
analogous
#351F83 #671F83 #831F6D
triadic
#671F83 #83671F #1F8367
tetradic
#671F83 #83351F #3B831F #1F6D83
square
#671F83 #83351F #3B831F #1F6D83
split-complementary
#671F83 #6D831F #1F8335
monochromatic
#190820 #401352 #671F83 #8E2BB4 #AD49D4

Accessibility & contrast

On white

10.00
#671F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#671F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F83
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F83#FFFFFF#000000##FFFFFF
##671F831.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#194481
Tritanopia (blue-blind)
#64354F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #671f83;
/* rgb */ color: rgb(103, 31, 131);
/* oklch */ color: oklch(40.1% 0.163 314.5);
Tailwind
colors: {
  custom: {
    50: '#9663a8',
    500: '#671f83',
    950: '#000000',
  },
}
SCSS
$custom: #671f83;
$custom-light: #9663a8;
$custom-dark: #000000;
JSON
{
  "hex": "#671f83",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 283.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40137,
    "c": 0.16328,
    "h": 314.5
  },
  "luminance": 0.05502
}

Semantic roles & 50–950 ramp

primary
#671F83
secondary
#67B648
accent
#E54370
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671F83

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

Preview Lab → · Contrast checker → · Palette generator →

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