#671689#671689

#671689 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.178 H 312.9°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#671689
RGBrgb(103, 22, 137)
HSLhsl(282, 72%, 31%)
HSVhsv(282, 84%, 54%)
CMYKcmyk(24.8%, 83.9%, 0%, 46.3%)
CIE-LABlab(27.47, 51.72, -46.08)
CIE-LCHlch(27.47, 69.27, 318.30°)
OKLaboklab(39.83% 0.1211 -0.1305)
OKLCHoklch(39.83% 0.178 312.9)
XYZxyz(10.3950, 5.2639, 24.1305)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671689 #388916
analogous
#2D1689 #671689 #891671
triadic
#671689 #896716 #168967
tetradic
#671689 #892D16 #388916 #167189
square
#671689 #892D16 #388916 #167189
split-complementary
#671689 #718916 #16892D
monochromatic
#180520 #3F0E54 #671689 #8F1EBE #AE3ADF

Accessibility & contrast

On white

10.23
#671689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#671689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##671689#FFFFFF#000000##FFFFFF
##6716891.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)
#003D8C
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#633451
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671689;
/* rgb */ color: rgb(103, 22, 137);
/* oklch */ color: oklch(39.8% 0.178 312.9);
Tailwind
colors: {
  custom: {
    50: '#975fac',
    500: '#671689',
    950: '#000000',
  },
}
SCSS
$custom: #671689;
$custom-light: #975fac;
$custom-dark: #000000;
JSON
{
  "hex": "#671689",
  "rgb": {
    "r": 103,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 282.261,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39825,
    "c": 0.17805,
    "h": 312.9
  },
  "luminance": 0.05264
}

Semantic roles & 50–950 ramp

primary
#671689
secondary
#63BD3E
accent
#EF396F
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #671689

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

Preview Lab → · Contrast checker → · Palette generator →

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