#671883#671883

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

Color values

HEX#671883
RGBrgb(103, 24, 131)
HSLhsl(284, 69%, 30%)
HSVhsv(284, 82%, 51%)
CMYKcmyk(21.4%, 81.7%, 0%, 48.6%)
CIE-LABlab(27.23, 49.83, -42.72)
CIE-LCHlch(27.23, 65.64, 319.40°)
OKLaboklab(39.51% 0.1209 -0.1206)
OKLCHoklch(39.51% 0.171 315)
XYZxyz(10.0162, 5.1759, 21.9398)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671883 #348318
analogous
#311883 #671883 #831869
triadic
#671883 #836718 #188367
tetradic
#671883 #833118 #348318 #186983
square
#671883 #833118 #348318 #186983
split-complementary
#671883 #698318 #188331
monochromatic
#16051C #3E0F4F #671883 #9021B7 #B13ADB

Accessibility & contrast

On white

10.32
#671883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#671883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671883
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671883#FFFFFF#000000##FFFFFF
##6718831.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#124281
Tritanopia (blue-blind)
#65324E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671883;
/* rgb */ color: rgb(103, 24, 131);
/* oklch */ color: oklch(39.5% 0.171 315.0);
Tailwind
colors: {
  custom: {
    50: '#9660a8',
    500: '#671883',
    950: '#000000',
  },
}
SCSS
$custom: #671883;
$custom-light: #9660a8;
$custom-dark: #000000;
JSON
{
  "hex": "#671883",
  "rgb": {
    "r": 103,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 284.299,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39509,
    "c": 0.17076,
    "h": 315
  },
  "luminance": 0.05176
}

Semantic roles & 50–950 ramp

primary
#671883
secondary
#5FB740
accent
#EC3C6A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #671883

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

Preview Lab → · Contrast checker → · Palette generator →

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