#671980#671980

#671980 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.167 H 316.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#671980
RGBrgb(103, 25, 128)
HSLhsl(285, 67%, 30%)
HSVhsv(285, 80%, 50%)
CMYKcmyk(19.5%, 80.5%, 0%, 49.8%)
CIE-LABlab(27.12, 48.87, -41.00)
CIE-LCHlch(27.12, 63.80, 320.00°)
OKLaboklab(39.36% 0.1206 -0.1156)
OKLCHoklch(39.36% 0.167 316.2)
XYZxyz(9.8368, 5.1377, 20.8914)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671980 #328019
analogous
#341980 #671980 #801965
triadic
#671980 #806719 #198067
tetradic
#671980 #803419 #328019 #196580
square
#671980 #803419 #328019 #196580
split-complementary
#671980 #658019 #198034
monochromatic
#15051A #3E0F4D #671980 #9023B3 #B23BD9

Accessibility & contrast

On white

10.36
#671980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#671980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671980
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671980#FFFFFF#000000##FFFFFF
##6719801.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#18427E
Tritanopia (blue-blind)
#65314C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671980;
/* rgb */ color: rgb(103, 25, 128);
/* oklch */ color: oklch(39.4% 0.167 316.2);
Tailwind
colors: {
  custom: {
    50: '#9660a5',
    500: '#671980',
    950: '#000000',
  },
}
SCSS
$custom: #671980;
$custom-light: #9660a5;
$custom-dark: #000000;
JSON
{
  "hex": "#671980",
  "rgb": {
    "r": 103,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 285.437,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.39363,
    "c": 0.16703,
    "h": 316.2
  },
  "luminance": 0.05137
}

Semantic roles & 50–950 ramp

primary
#671980
secondary
#5DB441
accent
#EA3E67
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #671980

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

Preview Lab → · Contrast checker → · Palette generator →

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