#671788#671788

#671788 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.176 H 313.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#671788
RGBrgb(103, 23, 136)
HSLhsl(282, 71%, 31%)
HSVhsv(282, 83%, 53%)
CMYKcmyk(24.3%, 83.1%, 0%, 46.7%)
CIE-LABlab(27.50, 51.20, -45.41)
CIE-LCHlch(27.50, 68.44, 318.43°)
OKLaboklab(39.82% 0.1206 -0.1285)
OKLCHoklch(39.82% 0.176 313.2)
XYZxyz(10.3431, 5.2743, 23.7610)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671788 #388817
analogous
#2E1788 #671788 #881770
triadic
#671788 #886717 #178867
tetradic
#671788 #882E17 #388817 #177088
square
#671788 #882E17 #388817 #177088
split-complementary
#671788 #708817 #17882E
monochromatic
#18051F #3F0E54 #671788 #8F20BC #AE3BDE

Accessibility & contrast

On white

10.22
#671788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#671788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671788
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671788#FFFFFF#000000##FFFFFF
##6717881.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#044386
Tritanopia (blue-blind)
#633351
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671788;
/* rgb */ color: rgb(103, 23, 136);
/* oklch */ color: oklch(39.8% 0.176 313.2);
Tailwind
colors: {
  custom: {
    50: '#9760ab',
    500: '#671788',
    950: '#000000',
  },
}
SCSS
$custom: #671788;
$custom-light: #9760ab;
$custom-dark: #000000;
JSON
{
  "hex": "#671788",
  "rgb": {
    "r": 103,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 282.478,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3982,
    "c": 0.17625,
    "h": 313.2
  },
  "luminance": 0.05274
}

Semantic roles & 50–950 ramp

primary
#671788
secondary
#63BC3F
accent
#EE3A6E
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #671788

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

Preview Lab → · Contrast checker → · Palette generator →

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