#671A6E#671A6E

#671A6E is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.2% C 0.150 H 324.3°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#671A6E
RGBrgb(103, 26, 110)
HSLhsl(295, 62%, 27%)
HSVhsv(295, 76%, 43%)
CMYKcmyk(6.4%, 76.4%, 0%, 56.9%)
CIE-LABlab(26.01, 44.94, -31.33)
CIE-LCHlch(26.01, 54.78, 325.11°)
OKLaboklab(38.17% 0.1216 -0.0873)
OKLCHoklch(38.17% 0.15 324.3)
XYZxyz(8.7772, 4.7487, 15.2031)
Luminance0.0475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A6E #216E1A
analogous
#3D1A6E #671A6E #6E1A4B
triadic
#671A6E #6E671A #1A6E67
tetradic
#671A6E #6E3D1A #216E1A #1A4B6E
square
#671A6E #6E3D1A #216E1A #1A4B6E
split-complementary
#671A6E #4B6E1A #1A6E3D
monochromatic
#170619 #390E3D #671A6E #9526A0 #C234CF

Accessibility & contrast

On white

10.77
#671A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#671A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A6E
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A6E#FFFFFF#000000##FFFFFF
##671A6E1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#2A416C
Tritanopia (blue-blind)
#692942
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #671a6e;
/* rgb */ color: rgb(103, 26, 110);
/* oklch */ color: oklch(38.2% 0.150 324.3);
Tailwind
colors: {
  custom: {
    50: '#955f98',
    500: '#671a6e',
    950: '#000000',
  },
}
SCSS
$custom: #671a6e;
$custom-light: #955f98;
$custom-dark: #000000;
JSON
{
  "hex": "#671a6e",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 110
  },
  "hsl": {
    "h": 295,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.38175,
    "c": 0.14968,
    "h": 324.3
  },
  "luminance": 0.04748
}

Semantic roles & 50–950 ramp

primary
#671A6E
secondary
#49A341
accent
#E54350
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #671A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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