#671A7E#671A7E

#671A7E is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.164 H 317.0°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#671A7E
RGBrgb(103, 26, 126)
HSLhsl(286, 66%, 30%)
HSVhsv(286, 79%, 49%)
CMYKcmyk(18.3%, 79.4%, 0%, 50.6%)
CIE-LABlab(27.10, 48.11, -39.78)
CIE-LCHlch(27.10, 62.43, 320.41°)
OKLaboklab(39.3% 0.12 -0.112)
OKLCHoklch(39.3% 0.164 317)
XYZxyz(9.7282, 5.1291, 20.2122)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A7E #317E1A
analogous
#351A7E #671A7E #7E1A63
triadic
#671A7E #7E671A #1A7E67
tetradic
#671A7E #7E351A #317E1A #1A637E
square
#671A7E #7E351A #317E1A #1A637E
split-complementary
#671A7E #637E1A #1A7E35
monochromatic
#150519 #3E104B #671A7E #9024B1 #B33CD7

Accessibility & contrast

On white

10.37
#671A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#671A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A7E
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A7E#FFFFFF#000000##FFFFFF
##671A7E1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#1B427C
Tritanopia (blue-blind)
#66304B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671a7e;
/* rgb */ color: rgb(103, 26, 126);
/* oklch */ color: oklch(39.3% 0.164 317.0);
Tailwind
colors: {
  custom: {
    50: '#9660a4',
    500: '#671a7e',
    950: '#000000',
  },
}
SCSS
$custom: #671a7e;
$custom-light: #9660a4;
$custom-dark: #000000;
JSON
{
  "hex": "#671a7e",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 286.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.393,
    "c": 0.16415,
    "h": 317
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

primary
#671A7E
secondary
#5CB242
accent
#E93F66
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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