#671E8A#671E8A

#671E8A is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.171 H 311.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#671E8A
RGBrgb(103, 30, 138)
HSLhsl(281, 64%, 33%)
HSVhsv(281, 78%, 54%)
CMYKcmyk(25.4%, 78.3%, 0%, 45.9%)
CIE-LABlab(28.50, 49.18, -45.03)
CIE-LCHlch(28.50, 66.68, 317.52°)
OKLaboklab(40.57% 0.1142 -0.1275)
OKLCHoklch(40.57% 0.171 311.9)
XYZxyz(10.6444, 5.6474, 24.5692)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E8A #418A1E
analogous
#311E8A #671E8A #8A1E77
triadic
#671E8A #8A671E #1E8A67
tetradic
#671E8A #8A311E #418A1E #1E778A
square
#671E8A #8A311E #418A1E #1E778A
split-complementary
#671E8A #778A1E #1E8A31
monochromatic
#1C0825 #411358 #671E8A #8D29BC #AA4BD8

Accessibility & contrast

On white

9.86
#671E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#671E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671E8A
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E8A#FFFFFF#000000##FFFFFF
##671E8A1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#0A4588
Tritanopia (blue-blind)
#633853
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671e8a;
/* rgb */ color: rgb(103, 30, 138);
/* oklch */ color: oklch(40.6% 0.171 311.9);
Tailwind
colors: {
  custom: {
    50: '#9763ad',
    500: '#671e8a',
    950: '#000000',
  },
}
SCSS
$custom: #671e8a;
$custom-light: #9763ad;
$custom-dark: #000000;
JSON
{
  "hex": "#671e8a",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 280.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40573,
    "c": 0.17115,
    "h": 311.9
  },
  "luminance": 0.05647
}

Semantic roles & 50–950 ramp

primary
#671E8A
secondary
#6EBA4A
accent
#E74177
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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