#671979#671979

#671979 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.161 H 319.2°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#671979
RGBrgb(103, 25, 121)
HSLhsl(289, 66%, 29%)
HSVhsv(289, 79%, 47%)
CMYKcmyk(14.9%, 79.3%, 0%, 52.5%)
CIE-LABlab(26.62, 47.45, -37.39)
CIE-LCHlch(26.62, 60.41, 321.77°)
OKLaboklab(38.85% 0.1216 -0.105)
OKLCHoklch(38.85% 0.161 319.2)
XYZxyz(9.3919, 4.9598, 18.5481)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671979 #2B7919
analogous
#371979 #671979 #79195B
triadic
#671979 #796719 #197967
tetradic
#671979 #793719 #2B7919 #195B79
square
#671979 #793719 #2B7919 #195B79
split-complementary
#671979 #5B7919 #197937
monochromatic
#160519 #3C0F46 #671979 #9223AC #B837D6

Accessibility & contrast

On white

10.54
#671979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#671979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671979
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671979#FFFFFF#000000##FFFFFF
##6719791.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671979;
/* rgb */ color: rgb(103, 25, 121);
/* oklch */ color: oklch(38.8% 0.161 319.2);
Tailwind
colors: {
  custom: {
    50: '#9660a0',
    500: '#671979',
    950: '#000000',
  },
}
SCSS
$custom: #671979;
$custom-light: #9660a0;
$custom-dark: #000000;
JSON
{
  "hex": "#671979",
  "rgb": {
    "r": 103,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 288.75,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38847,
    "c": 0.16067,
    "h": 319.2
  },
  "luminance": 0.04959
}

Semantic roles & 50–950 ramp

primary
#671979
secondary
#55AE40
accent
#E93F5F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #671979

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

Preview Lab → · Contrast checker → · Palette generator →

#671979 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva