#671A87#671A87

#671A87 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.172 H 313.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#671A87
RGBrgb(103, 26, 135)
HSLhsl(282, 68%, 32%)
HSVhsv(282, 81%, 53%)
CMYKcmyk(23.7%, 80.7%, 0%, 47.1%)
CIE-LABlab(27.77, 49.99, -44.35)
CIE-LCHlch(27.77, 66.83, 318.42°)
OKLaboklab(39.98% 0.1184 -0.1254)
OKLCHoklch(39.98% 0.172 313.3)
XYZxyz(10.3353, 5.3720, 23.4094)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A87 #3A871A
analogous
#301A87 #671A87 #871A71
triadic
#671A87 #87671A #1A8767
tetradic
#671A87 #87301A #3A871A #1A7187
square
#671A87 #87301A #3A871A #1A7187
split-complementary
#671A87 #71871A #1A8730
monochromatic
#190620 #401054 #671A87 #8E24BA #AD41DA

Accessibility & contrast

On white

10.12
#671A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#671A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A87
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A87#FFFFFF#000000##FFFFFF
##671A871.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#0B4385
Tritanopia (blue-blind)
#643451
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #671a87;
/* rgb */ color: rgb(103, 26, 135);
/* oklch */ color: oklch(40.0% 0.172 313.3);
Tailwind
colors: {
  custom: {
    50: '#9761ab',
    500: '#671a87',
    950: '#000000',
  },
}
SCSS
$custom: #671a87;
$custom-light: #9761ab;
$custom-dark: #000000;
JSON
{
  "hex": "#671a87",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 282.385,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39983,
    "c": 0.17248,
    "h": 313.3
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#671A87
secondary
#66BA42
accent
#EB3D70
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671A87

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

Preview Lab → · Contrast checker → · Palette generator →

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