#671881#671881

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

Color values

HEX#671881
RGBrgb(103, 24, 129)
HSLhsl(285, 69%, 30%)
HSVhsv(285, 81%, 51%)
CMYKcmyk(20.2%, 81.4%, 0%, 49.4%)
CIE-LABlab(27.08, 49.42, -41.70)
CIE-LCHlch(27.08, 64.66, 319.84°)
OKLaboklab(39.36% 0.1212 -0.1177)
OKLCHoklch(39.36% 0.169 315.9)
XYZxyz(9.8820, 5.1222, 21.2328)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671881 #328118
analogous
#331881 #671881 #811866
triadic
#671881 #816718 #188167
tetradic
#671881 #813318 #328118 #186681
square
#671881 #813318 #328118 #186681
split-complementary
#671881 #668118 #188133
monochromatic
#15051A #3E0E4D #671881 #9022B5 #B239DA

Accessibility & contrast

On white

10.37
#671881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671881
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671881#FFFFFF#000000##FFFFFF
##6718811.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#15427F
Tritanopia (blue-blind)
#65314D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671881;
/* rgb */ color: rgb(103, 24, 129);
/* oklch */ color: oklch(39.4% 0.169 315.9);
Tailwind
colors: {
  custom: {
    50: '#9660a6',
    500: '#671881',
    950: '#000000',
  },
}
SCSS
$custom: #671881;
$custom-light: #9660a6;
$custom-dark: #000000;
JSON
{
  "hex": "#671881",
  "rgb": {
    "r": 103,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 285.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.39356,
    "c": 0.16894,
    "h": 315.9
  },
  "luminance": 0.05122
}

Semantic roles & 50–950 ramp

primary
#671881
secondary
#5DB540
accent
#EB3C68
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #671881

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

Preview Lab → · Contrast checker → · Palette generator →

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