#671A83#671A83

#671A83 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.169 H 314.9°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#671A83
RGBrgb(103, 26, 131)
HSLhsl(284, 67%, 31%)
HSVhsv(284, 80%, 51%)
CMYKcmyk(21.4%, 80.2%, 0%, 48.6%)
CIE-LABlab(27.47, 49.15, -42.33)
CIE-LCHlch(27.47, 64.87, 319.26°)
OKLaboklab(39.67% 0.1191 -0.1195)
OKLCHoklch(39.67% 0.169 314.9)
XYZxyz(10.0590, 5.2614, 21.9540)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A83 #36831A
analogous
#321A83 #671A83 #831A6A
triadic
#671A83 #83671A #1A8367
tetradic
#671A83 #83321A #36831A #1A6A83
square
#671A83 #83321A #36831A #1A6A83
split-complementary
#671A83 #6A831A #1A8332
monochromatic
#17061D #3F1050 #671A83 #8F24B6 #B03FD9

Accessibility & contrast

On white

10.23
#671A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671A83
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A83#FFFFFF#000000##FFFFFF
##671A831.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#144381
Tritanopia (blue-blind)
#65324E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671a83;
/* rgb */ color: rgb(103, 26, 131);
/* oklch */ color: oklch(39.7% 0.169 314.9);
Tailwind
colors: {
  custom: {
    50: '#9660a8',
    500: '#671a83',
    950: '#000000',
  },
}
SCSS
$custom: #671a83;
$custom-light: #9660a8;
$custom-dark: #000000;
JSON
{
  "hex": "#671a83",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 284,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39675,
    "c": 0.16877,
    "h": 314.9
  },
  "luminance": 0.05261
}

Semantic roles & 50–950 ramp

primary
#671A83
secondary
#61B742
accent
#EA3E6C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671A83

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

Preview Lab → · Contrast checker → · Palette generator →

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