#671782#671782

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

Color values

HEX#671782
RGBrgb(103, 23, 130)
HSLhsl(285, 70%, 30%)
HSVhsv(285, 82%, 51%)
CMYKcmyk(20.8%, 82.3%, 0%, 49%)
CIE-LABlab(27.04, 49.95, -42.39)
CIE-LCHlch(27.04, 65.52, 319.68°)
OKLaboklab(39.35% 0.1219 -0.1197)
OKLCHoklch(39.35% 0.171 315.5)
XYZxyz(9.9285, 5.1085, 21.5778)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671782 #328217
analogous
#321782 #671782 #821767
triadic
#671782 #826717 #178267
tetradic
#671782 #823217 #328217 #176782
square
#671782 #823217 #328217 #176782
split-complementary
#671782 #678217 #178232
monochromatic
#15051A #3E0E4E #671782 #9020B6 #B238DC

Accessibility & contrast

On white

10.39
#671782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#671782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671782
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671782#FFFFFF#000000##FFFFFF
##6717821.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#134280
Tritanopia (blue-blind)
#65314D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671782;
/* rgb */ color: rgb(103, 23, 130);
/* oklch */ color: oklch(39.4% 0.171 315.5);
Tailwind
colors: {
  custom: {
    50: '#965fa7',
    500: '#671782',
    950: '#000000',
  },
}
SCSS
$custom: #671782;
$custom-light: #965fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#671782",
  "rgb": {
    "r": 103,
    "g": 23,
    "b": 130
  },
  "hsl": {
    "h": 284.86,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.39352,
    "c": 0.17082,
    "h": 315.5
  },
  "luminance": 0.05108
}

Semantic roles & 50–950 ramp

primary
#671782
secondary
#5DB63E
accent
#ED3B68
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #671782

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

Preview Lab → · Contrast checker → · Palette generator →

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