#671882#671882

#671882 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.170 H 315.5°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#671882
RGBrgb(103, 24, 130)
HSLhsl(285, 69%, 30%)
HSVhsv(285, 82%, 51%)
CMYKcmyk(20.8%, 81.5%, 0%, 49%)
CIE-LABlab(27.15, 49.63, -42.21)
CIE-LCHlch(27.15, 65.15, 319.62°)
OKLaboklab(39.43% 0.1211 -0.1191)
OKLCHoklch(39.43% 0.17 315.5)
XYZxyz(9.9488, 5.1489, 21.5845)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671882 #338218
analogous
#321882 #671882 #821868
triadic
#671882 #826718 #188267
tetradic
#671882 #823218 #338218 #186882
square
#671882 #823218 #338218 #186882
split-complementary
#671882 #688218 #188232
monochromatic
#15051B #3E0E4E #671882 #9022B6 #B23ADB

Accessibility & contrast

On white

10.35
#671882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#671882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671882
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671882#FFFFFF#000000##FFFFFF
##6718821.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#144280
Tritanopia (blue-blind)
#65314D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671882;
/* rgb */ color: rgb(103, 24, 130);
/* oklch */ color: oklch(39.4% 0.170 315.5);
Tailwind
colors: {
  custom: {
    50: '#9660a7',
    500: '#671882',
    950: '#000000',
  },
}
SCSS
$custom: #671882;
$custom-light: #9660a7;
$custom-dark: #000000;
JSON
{
  "hex": "#671882",
  "rgb": {
    "r": 103,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 284.717,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39432,
    "c": 0.16985,
    "h": 315.5
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#671882
secondary
#5EB640
accent
#EC3C69
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #671882

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

Preview Lab → · Contrast checker → · Palette generator →

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