#671A89#671A89

#671A89 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.174 H 312.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#671A89
RGBrgb(103, 26, 137)
HSLhsl(282, 68%, 32%)
HSVhsv(282, 81%, 54%)
CMYKcmyk(24.8%, 81%, 0%, 46.3%)
CIE-LABlab(27.92, 50.42, -45.35)
CIE-LCHlch(27.92, 67.81, 318.03°)
OKLaboklab(40.14% 0.118 -0.1284)
OKLCHoklch(40.14% 0.174 312.6)
XYZxyz(10.4774, 5.4288, 24.1580)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A89 #3C891A
analogous
#301A89 #671A89 #891A73
triadic
#671A89 #89671A #1A8967
tetradic
#671A89 #89301A #3C891A #1A7389
square
#671A89 #89301A #3C891A #1A7389
split-complementary
#671A89 #73891A #1A8930
monochromatic
#1A0622 #401056 #671A89 #8E24BC #AC42DB

Accessibility & contrast

On white

10.07
#671A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#671A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A89
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A89#FFFFFF#000000##FFFFFF
##671A891.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#064387
Tritanopia (blue-blind)
#633552
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #671a89;
/* rgb */ color: rgb(103, 26, 137);
/* oklch */ color: oklch(40.1% 0.174 312.6);
Tailwind
colors: {
  custom: {
    50: '#9761ac',
    500: '#671a89',
    950: '#000000',
  },
}
SCSS
$custom: #671a89;
$custom-light: #9761ac;
$custom-dark: #000000;
JSON
{
  "hex": "#671a89",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 281.622,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4014,
    "c": 0.17434,
    "h": 312.6
  },
  "luminance": 0.05428
}

Semantic roles & 50–950 ramp

primary
#671A89
secondary
#68BC43
accent
#EB3D72
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671A89

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

Preview Lab → · Contrast checker → · Palette generator →

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