#671A88#671A88

#671A88 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.173 H 313.0°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#671A88
RGBrgb(103, 26, 136)
HSLhsl(282, 68%, 32%)
HSVhsv(282, 81%, 53%)
CMYKcmyk(24.3%, 80.9%, 0%, 46.7%)
CIE-LABlab(27.85, 50.20, -44.85)
CIE-LCHlch(27.85, 67.32, 318.22°)
OKLaboklab(40.06% 0.1182 -0.1269)
OKLCHoklch(40.06% 0.173 313)
XYZxyz(10.4060, 5.4003, 23.7820)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A88 #3B881A
analogous
#301A88 #671A88 #881A72
triadic
#671A88 #88671A #1A8867
tetradic
#671A88 #88301A #3B881A #1A7288
square
#671A88 #88301A #3B881A #1A7288
split-complementary
#671A88 #72881A #1A8830
monochromatic
#190621 #401055 #671A88 #8E24BB #AD42DB

Accessibility & contrast

On white

10.10
#671A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#671A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A88
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A88#FFFFFF#000000##FFFFFF
##671A881.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#094386
Tritanopia (blue-blind)
#633551
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #671a88;
/* rgb */ color: rgb(103, 26, 136);
/* oklch */ color: oklch(40.1% 0.173 313.0);
Tailwind
colors: {
  custom: {
    50: '#9761ab',
    500: '#671a88',
    950: '#000000',
  },
}
SCSS
$custom: #671a88;
$custom-light: #9761ab;
$custom-dark: #000000;
JSON
{
  "hex": "#671a88",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 282,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40061,
    "c": 0.17341,
    "h": 313
  },
  "luminance": 0.054
}

Semantic roles & 50–950 ramp

primary
#671A88
secondary
#67BB43
accent
#EB3D71
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671A88

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

Preview Lab → · Contrast checker → · Palette generator →

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