#671B83#671B83

#671B83 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.168 H 314.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#671B83
RGBrgb(103, 27, 131)
HSLhsl(284, 66%, 31%)
HSVhsv(284, 79%, 51%)
CMYKcmyk(21.4%, 79.4%, 0%, 48.6%)
CIE-LABlab(27.59, 48.79, -42.13)
CIE-LCHlch(27.59, 64.47, 319.19°)
OKLaboklab(39.76% 0.1183 -0.1189)
OKLCHoklch(39.76% 0.168 314.8)
XYZxyz(10.0815, 5.3065, 21.9615)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B83 #37831B
analogous
#331B83 #671B83 #831B6B
triadic
#671B83 #83671B #1B8367
tetradic
#671B83 #83331B #37831B #1B6B83
square
#671B83 #83331B #37831B #1B6B83
split-complementary
#671B83 #6B831B #1B8333
monochromatic
#17061E #3F1150 #671B83 #8F25B6 #AF41D8

Accessibility & contrast

On white

10.19
#671B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#671B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B83
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B83#FFFFFF#000000##FFFFFF
##671B831.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#154381
Tritanopia (blue-blind)
#65334F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671b83;
/* rgb */ color: rgb(103, 27, 131);
/* oklch */ color: oklch(39.8% 0.168 314.8);
Tailwind
colors: {
  custom: {
    50: '#9661a8',
    500: '#671b83',
    950: '#000000',
  },
}
SCSS
$custom: #671b83;
$custom-light: #9661a8;
$custom-dark: #000000;
JSON
{
  "hex": "#671b83",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 283.846,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39762,
    "c": 0.16773,
    "h": 314.8
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#671B83
secondary
#62B643
accent
#E93F6D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671B83

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

Preview Lab → · Contrast checker → · Palette generator →

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