#671161#671161

#671161 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.6% C 0.148 H 331.3°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#671161
RGBrgb(103, 17, 97)
HSLhsl(304, 72%, 24%)
HSVhsv(304, 83%, 40%)
CMYKcmyk(0%, 83.5%, 5.8%, 59.6%)
CIE-LABlab(24.16, 45.60, -25.82)
CIE-LCHlch(24.16, 52.40, 330.48°)
OKLaboklab(36.59% 0.1303 -0.0712)
OKLCHoklch(36.59% 0.148 331.3)
XYZxyz(7.9516, 4.1482, 11.6888)
Luminance0.0415 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671161 #116717
analogous
#421167 #671161 #671136
triadic
#671161 #616711 #116167
tetradic
#671161 #674211 #116717 #113667
square
#671161 #674211 #116717 #113667
split-complementary
#671161 #366711 #116742
monochromatic
#1A0419 #320830 #671161 #9C1A92 #D022C4

Accessibility & contrast

On white

11.48
#671161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#671161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671161
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671161#FFFFFF#000000##FFFFFF
##6711611.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073263
Deuteranopia (green-blind)
#2E3E5F
Tritanopia (blue-blind)
#6C1D39
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #671161;
/* rgb */ color: rgb(103, 17, 97);
/* oklch */ color: oklch(36.6% 0.148 331.3);
Tailwind
colors: {
  custom: {
    50: '#965b8e',
    500: '#671161',
    950: '#000000',
  },
}
SCSS
$custom: #671161;
$custom-light: #965b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#671161",
  "rgb": {
    "r": 103,
    "g": 17,
    "b": 97
  },
  "hsl": {
    "h": 304.186,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.36593,
    "c": 0.14849,
    "h": 331.3
  },
  "luminance": 0.04148
}

Semantic roles & 50–950 ramp

primary
#671161
secondary
#359F3C
accent
#EE4639
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E040C
muted
#7E797D

Preview Lab

Preview with #671161

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

Preview Lab → · Contrast checker → · Palette generator →

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