#671683#671683

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

Color values

HEX#671683
RGBrgb(103, 22, 131)
HSLhsl(285, 71%, 30%)
HSVhsv(285, 83%, 51%)
CMYKcmyk(21.4%, 83.2%, 0%, 48.6%)
CIE-LABlab(27.01, 50.48, -43.08)
CIE-LCHlch(27.01, 66.36, 319.52°)
OKLaboklab(39.35% 0.1225 -0.1217)
OKLCHoklch(39.35% 0.173 315.2)
XYZxyz(9.9765, 5.0965, 21.9265)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671683 #328316
analogous
#301683 #671683 #831669
triadic
#671683 #836716 #168367
tetradic
#671683 #833016 #328316 #166983
square
#671683 #833016 #328316 #166983
split-complementary
#671683 #698316 #168330
monochromatic
#15041A #3E0D4F #671683 #901FB7 #B236DD

Accessibility & contrast

On white

10.40
#671683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671683
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671683#FFFFFF#000000##FFFFFF
##6716831.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671683;
/* rgb */ color: rgb(103, 22, 131);
/* oklch */ color: oklch(39.4% 0.173 315.2);
Tailwind
colors: {
  custom: {
    50: '#965fa8',
    500: '#671683',
    950: '#000000',
  },
}
SCSS
$custom: #671683;
$custom-light: #965fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#671683",
  "rgb": {
    "r": 103,
    "g": 22,
    "b": 131
  },
  "hsl": {
    "h": 284.587,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.39353,
    "c": 0.17264,
    "h": 315.2
  },
  "luminance": 0.05096
}

Semantic roles & 50–950 ramp

primary
#671683
secondary
#5DB73D
accent
#EE3A68
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #671683

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

Preview Lab → · Contrast checker → · Palette generator →

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