#671984#671984

#671984 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.7% C 0.171 H 314.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#671984
RGBrgb(103, 25, 132)
HSLhsl(284, 68%, 31%)
HSVhsv(284, 81%, 52%)
CMYKcmyk(22%, 81.1%, 0%, 48.2%)
CIE-LABlab(27.42, 49.70, -43.03)
CIE-LCHlch(27.42, 65.75, 319.11°)
OKLaboklab(39.67% 0.1198 -0.1216)
OKLCHoklch(39.67% 0.171 314.6)
XYZxyz(10.1053, 5.2451, 22.3054)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671984 #368419
analogous
#311984 #671984 #84196B
triadic
#671984 #846719 #198467
tetradic
#671984 #843119 #368419 #196B84
square
#671984 #843119 #368419 #196B84
split-complementary
#671984 #6B8419 #198431
monochromatic
#17061D #3F0F51 #671984 #8F23B7 #B03DDA

Accessibility & contrast

On white

10.25
#671984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671984
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671984#FFFFFF#000000##FFFFFF
##6719841.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#114382
Tritanopia (blue-blind)
#64324F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671984;
/* rgb */ color: rgb(103, 25, 132);
/* oklch */ color: oklch(39.7% 0.171 314.6);
Tailwind
colors: {
  custom: {
    50: '#9660a8',
    500: '#671984',
    950: '#000000',
  },
}
SCSS
$custom: #671984;
$custom-light: #9660a8;
$custom-dark: #000000;
JSON
{
  "hex": "#671984",
  "rgb": {
    "r": 103,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 283.738,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39667,
    "c": 0.1707,
    "h": 314.6
  },
  "luminance": 0.05245
}

Semantic roles & 50–950 ramp

primary
#671984
secondary
#61B841
accent
#EB3D6C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671984

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

Preview Lab → · Contrast checker → · Palette generator →

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