#671A86#671A86

#671A86 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.172 H 313.7°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#671A86
RGBrgb(103, 26, 134)
HSLhsl(283, 68%, 31%)
HSVhsv(283, 81%, 53%)
CMYKcmyk(23.1%, 80.6%, 0%, 47.5%)
CIE-LABlab(27.69, 49.78, -43.85)
CIE-LCHlch(27.69, 66.34, 318.62°)
OKLaboklab(39.91% 0.1186 -0.124)
OKLCHoklch(39.91% 0.172 313.7)
XYZxyz(10.2652, 5.3439, 23.0404)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A86 #39861A
analogous
#311A86 #671A86 #861A6F
triadic
#671A86 #86671A #1A8667
tetradic
#671A86 #86311A #39861A #1A6F86
square
#671A86 #86311A #39861A #1A6F86
split-complementary
#671A86 #6F861A #1A8631
monochromatic
#18061F #401053 #671A86 #8E24B9 #AE40DA

Accessibility & contrast

On white

10.15
#671A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671A86
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A86#FFFFFF#000000##FFFFFF
##671A861.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#0E4384
Tritanopia (blue-blind)
#643450
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671a86;
/* rgb */ color: rgb(103, 26, 134);
/* oklch */ color: oklch(39.9% 0.172 313.7);
Tailwind
colors: {
  custom: {
    50: '#9661aa',
    500: '#671a86',
    950: '#000000',
  },
}
SCSS
$custom: #671a86;
$custom-light: #9661aa;
$custom-dark: #000000;
JSON
{
  "hex": "#671a86",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 282.778,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39906,
    "c": 0.17155,
    "h": 313.7
  },
  "luminance": 0.05344
}

Semantic roles & 50–950 ramp

primary
#671A86
secondary
#65B942
accent
#EA3D6F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671A86

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

Preview Lab → · Contrast checker → · Palette generator →

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