#671B85#671B85

#671B85 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.170 H 314.0°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#671B85
RGBrgb(103, 27, 133)
HSLhsl(283, 66%, 31%)
HSVhsv(283, 80%, 52%)
CMYKcmyk(22.6%, 79.7%, 0%, 47.8%)
CIE-LABlab(27.74, 49.21, -43.15)
CIE-LCHlch(27.74, 65.45, 318.76°)
OKLaboklab(39.92% 0.1179 -0.1219)
OKLCHoklch(39.92% 0.17 314)
XYZxyz(10.2184, 5.3612, 22.6823)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B85 #39851B
analogous
#321B85 #671B85 #851B6E
triadic
#671B85 #85671B #1B8567
tetradic
#671B85 #85321B #39851B #1B6E85
square
#671B85 #85321B #39851B #1B6E85
split-complementary
#671B85 #6E851B #1B8532
monochromatic
#18061F #401152 #671B85 #8E25B8 #AE42D9

Accessibility & contrast

On white

10.13
#671B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#671B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B85
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B85#FFFFFF#000000##FFFFFF
##671B851.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#114383
Tritanopia (blue-blind)
#643450
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671b85;
/* rgb */ color: rgb(103, 27, 133);
/* oklch */ color: oklch(39.9% 0.170 314.0);
Tailwind
colors: {
  custom: {
    50: '#9661a9',
    500: '#671b85',
    950: '#000000',
  },
}
SCSS
$custom: #671b85;
$custom-light: #9661a9;
$custom-dark: #000000;
JSON
{
  "hex": "#671b85",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 283.019,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39915,
    "c": 0.1696,
    "h": 314
  },
  "luminance": 0.05361
}

Semantic roles & 50–950 ramp

primary
#671B85
secondary
#65B844
accent
#E93F6F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671B85

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

Preview Lab → · Contrast checker → · Palette generator →

#671B85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva