#671A85#671A85

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

Color values

HEX#671A85
RGBrgb(103, 26, 133)
HSLhsl(283, 67%, 31%)
HSVhsv(283, 80%, 52%)
CMYKcmyk(22.6%, 80.5%, 0%, 47.8%)
CIE-LABlab(27.62, 49.57, -43.34)
CIE-LCHlch(27.62, 65.85, 318.83°)
OKLaboklab(39.83% 0.1188 -0.1225)
OKLCHoklch(39.83% 0.171 314.1)
XYZxyz(10.1958, 5.3162, 22.6748)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A85 #38851A
analogous
#311A85 #671A85 #851A6D
triadic
#671A85 #85671A #1A8567
tetradic
#671A85 #85311A #38851A #1A6D85
square
#671A85 #85311A #38851A #1A6D85
split-complementary
#671A85 #6D851A #1A8531
monochromatic
#18061F #3F1052 #671A85 #8F24B8 #AE40DA

Accessibility & contrast

On white

10.18
#671A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671A85
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A85#FFFFFF#000000##FFFFFF
##671A851.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#104383
Tritanopia (blue-blind)
#64334F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671a85;
/* rgb */ color: rgb(103, 26, 133);
/* oklch */ color: oklch(39.8% 0.171 314.1);
Tailwind
colors: {
  custom: {
    50: '#9661a9',
    500: '#671a85',
    950: '#000000',
  },
}
SCSS
$custom: #671a85;
$custom-light: #9661a9;
$custom-dark: #000000;
JSON
{
  "hex": "#671a85",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 283.178,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39828,
    "c": 0.17062,
    "h": 314.1
  },
  "luminance": 0.05316
}

Semantic roles & 50–950 ramp

primary
#671A85
secondary
#63B842
accent
#EA3E6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671A85

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

Preview Lab → · Contrast checker → · Palette generator →

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