#671681#671681

#671681 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.2% C 0.171 H 316.0°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#671681
RGBrgb(103, 22, 129)
HSLhsl(285, 71%, 30%)
HSVhsv(285, 83%, 51%)
CMYKcmyk(20.2%, 82.9%, 0%, 49.4%)
CIE-LABlab(26.86, 50.07, -42.06)
CIE-LCHlch(26.86, 65.39, 319.97°)
OKLaboklab(39.2% 0.1229 -0.1187)
OKLCHoklch(39.2% 0.171 316)
XYZxyz(9.8422, 5.0428, 21.2195)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671681 #308116
analogous
#321681 #671681 #811665
triadic
#671681 #816716 #168167
tetradic
#671681 #813216 #308116 #166581
square
#671681 #813216 #308116 #166581
split-complementary
#671681 #658116 #168132
monochromatic
#15041A #3D0D4D #671681 #911FB5 #B435DD

Accessibility & contrast

On white

10.46
#671681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#671681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671681
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671681#FFFFFF#000000##FFFFFF
##6716811.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B84
Deuteranopia (green-blind)
#13427F
Tritanopia (blue-blind)
#65304C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #671681;
/* rgb */ color: rgb(103, 22, 129);
/* oklch */ color: oklch(39.2% 0.171 316.0);
Tailwind
colors: {
  custom: {
    50: '#965fa6',
    500: '#671681',
    950: '#000000',
  },
}
SCSS
$custom: #671681;
$custom-light: #965fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#671681",
  "rgb": {
    "r": 103,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 285.421,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39199,
    "c": 0.17085,
    "h": 316
  },
  "luminance": 0.05042
}

Semantic roles & 50–950 ramp

primary
#671681
secondary
#5AB63D
accent
#EE3A66
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #671681

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

Preview Lab → · Contrast checker → · Palette generator →

#671681 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva