#671A7A#671A7A

#671A7A is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.160 H 318.7°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#671A7A
RGBrgb(103, 26, 122)
HSLhsl(288, 65%, 29%)
HSVhsv(288, 79%, 48%)
CMYKcmyk(15.6%, 78.7%, 0%, 52.2%)
CIE-LABlab(26.81, 47.30, -37.71)
CIE-LCHlch(26.81, 60.49, 321.44°)
OKLaboklab(39.01% 0.1205 -0.106)
OKLCHoklch(39.01% 0.16 318.7)
XYZxyz(9.4753, 5.0279, 18.8800)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A7A #2D7A1A
analogous
#371A7A #671A7A #7A1A5D
triadic
#671A7A #7A671A #1A7A67
tetradic
#671A7A #7A371A #2D7A1A #1A5D7A
square
#671A7A #7A371A #2D7A1A #1A5D7A
split-complementary
#671A7A #5D7A1A #1A7A37
monochromatic
#150519 #3C0F48 #671A7A #9225AC #B639D5

Accessibility & contrast

On white

10.47
#671A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#671A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A7A
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A7A#FFFFFF#000000##FFFFFF
##671A7A1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#204278
Tritanopia (blue-blind)
#672E49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #671a7a;
/* rgb */ color: rgb(103, 26, 122);
/* oklch */ color: oklch(39.0% 0.160 318.7);
Tailwind
colors: {
  custom: {
    50: '#9660a1',
    500: '#671a7a',
    950: '#000000',
  },
}
SCSS
$custom: #671a7a;
$custom-light: #9660a1;
$custom-dark: #000000;
JSON
{
  "hex": "#671a7a",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 288.125,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39007,
    "c": 0.16049,
    "h": 318.7
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#671A7A
secondary
#57AE41
accent
#E84061
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #671A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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