#671A79#671A79

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

Color values

HEX#671A79
RGBrgb(103, 26, 121)
HSLhsl(289, 65%, 29%)
HSVhsv(289, 79%, 47%)
CMYKcmyk(14.9%, 78.5%, 0%, 52.5%)
CIE-LABlab(26.74, 47.09, -37.19)
CIE-LCHlch(26.74, 60.01, 321.70°)
OKLaboklab(38.93% 0.1207 -0.1044)
OKLCHoklch(38.93% 0.16 319.1)
XYZxyz(9.4136, 5.0033, 18.5553)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A79 #2C791A
analogous
#381A79 #671A79 #791A5C
triadic
#671A79 #79671A #1A7967
tetradic
#671A79 #79381A #2C791A #1A5C79
square
#671A79 #79381A #2C791A #1A5C79
split-complementary
#671A79 #5C791A #1A7938
monochromatic
#150519 #3C0F47 #671A79 #9225AB #B739D4

Accessibility & contrast

On white

10.50
#671A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#671A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A79
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A79#FFFFFF#000000##FFFFFF
##671A791.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671a79;
/* rgb */ color: rgb(103, 26, 121);
/* oklch */ color: oklch(38.9% 0.160 319.1);
Tailwind
colors: {
  custom: {
    50: '#9660a0',
    500: '#671a79',
    950: '#000000',
  },
}
SCSS
$custom: #671a79;
$custom-light: #9660a0;
$custom-dark: #000000;
JSON
{
  "hex": "#671a79",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 288.632,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38935,
    "c": 0.15958,
    "h": 319.1
  },
  "luminance": 0.05003
}

Semantic roles & 50–950 ramp

primary
#671A79
secondary
#56AD41
accent
#E84060
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #671A79

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

Preview Lab → · Contrast checker → · Palette generator →

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