#671989#671989

#671989 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.175 H 312.7°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#671989
RGBrgb(103, 25, 137)
HSLhsl(282, 69%, 32%)
HSVhsv(282, 82%, 54%)
CMYKcmyk(24.8%, 81.8%, 0%, 46.3%)
CIE-LABlab(27.81, 50.76, -45.54)
CIE-LCHlch(27.81, 68.19, 318.10°)
OKLaboklab(40.06% 0.1188 -0.1289)
OKLCHoklch(40.06% 0.175 312.7)
XYZxyz(10.4557, 5.3853, 24.1507)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671989 #3B8919
analogous
#2F1989 #671989 #891973
triadic
#671989 #896719 #198967
tetradic
#671989 #892F19 #3B8919 #197389
square
#671989 #892F19 #3B8919 #197389
split-complementary
#671989 #738919 #19892F
monochromatic
#190621 #401055 #671989 #8E22BD #AD40DC

Accessibility & contrast

On white

10.11
#671989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#671989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671989
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671989#FFFFFF#000000##FFFFFF
##6719891.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#044387
Tritanopia (blue-blind)
#633552
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #671989;
/* rgb */ color: rgb(103, 25, 137);
/* oklch */ color: oklch(40.1% 0.175 312.7);
Tailwind
colors: {
  custom: {
    50: '#9760ac',
    500: '#671989',
    950: '#000000',
  },
}
SCSS
$custom: #671989;
$custom-light: #9760ac;
$custom-dark: #000000;
JSON
{
  "hex": "#671989",
  "rgb": {
    "r": 103,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 281.786,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40057,
    "c": 0.17531,
    "h": 312.7
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#671989
secondary
#67BC41
accent
#EC3C71
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671989

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

Preview Lab → · Contrast checker → · Palette generator →

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