#671880#671880

#671880 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.168 H 316.3°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#671880
RGBrgb(103, 24, 128)
HSLhsl(286, 68%, 30%)
HSVhsv(286, 81%, 50%)
CMYKcmyk(19.5%, 81.3%, 0%, 49.8%)
CIE-LABlab(27.01, 49.21, -41.19)
CIE-LCHlch(27.01, 64.18, 320.07°)
OKLaboklab(39.28% 0.1214 -0.1162)
OKLCHoklch(39.28% 0.168 316.3)
XYZxyz(9.8158, 5.0958, 20.8844)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671880 #318018
analogous
#331880 #671880 #801865
triadic
#671880 #806718 #188067
tetradic
#671880 #803318 #318018 #186580
square
#671880 #803318 #318018 #186580
split-complementary
#671880 #658018 #188033
monochromatic
#15051A #3E0E4C #671880 #9022B4 #B339DA

Accessibility & contrast

On white

10.40
#671880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#671880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671880
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671880#FFFFFF#000000##FFFFFF
##6718801.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#17427E
Tritanopia (blue-blind)
#65304C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671880;
/* rgb */ color: rgb(103, 24, 128);
/* oklch */ color: oklch(39.3% 0.168 316.3);
Tailwind
colors: {
  custom: {
    50: '#9660a5',
    500: '#671880',
    950: '#000000',
  },
}
SCSS
$custom: #671880;
$custom-light: #9660a5;
$custom-dark: #000000;
JSON
{
  "hex": "#671880",
  "rgb": {
    "r": 103,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 285.577,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3928,
    "c": 0.16804,
    "h": 316.3
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#671880
secondary
#5CB440
accent
#EB3D67
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #671880

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

Preview Lab → · Contrast checker → · Palette generator →

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