#671780#671780

#671780 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.169 H 316.3°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#671780
RGBrgb(103, 23, 128)
HSLhsl(286, 70%, 30%)
HSVhsv(286, 82%, 50%)
CMYKcmyk(19.5%, 82%, 0%, 49.8%)
CIE-LABlab(26.89, 49.55, -41.38)
CIE-LCHlch(26.89, 64.55, 320.13°)
OKLaboklab(39.2% 0.1223 -0.1167)
OKLCHoklch(39.2% 0.169 316.3)
XYZxyz(9.7956, 5.0553, 20.8777)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671780 #308017
analogous
#321780 #671780 #801765
triadic
#671780 #806717 #178067
tetradic
#671780 #803217 #308017 #176580
square
#671780 #803217 #308017 #176580
split-complementary
#671780 #658017 #178032
monochromatic
#15051A #3D0E4C #671780 #9120B4 #B436DB

Accessibility & contrast

On white

10.44
#671780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#671780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671780
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671780#FFFFFF#000000##FFFFFF
##6717801.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#16427E
Tritanopia (blue-blind)
#65304C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671780;
/* rgb */ color: rgb(103, 23, 128);
/* oklch */ color: oklch(39.2% 0.169 316.3);
Tailwind
colors: {
  custom: {
    50: '#965fa5',
    500: '#671780',
    950: '#000000',
  },
}
SCSS
$custom: #671780;
$custom-light: #965fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#671780",
  "rgb": {
    "r": 103,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 285.714,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.392,
    "c": 0.16901,
    "h": 316.3
  },
  "luminance": 0.05055
}

Semantic roles & 50–950 ramp

primary
#671780
secondary
#5AB43E
accent
#EC3B66
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #671780

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

Preview Lab → · Contrast checker → · Palette generator →

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