#671E7C#671E7C

#671E7C is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.5% C 0.158 H 317.5°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#671E7C
RGBrgb(103, 30, 124)
HSLhsl(287, 61%, 30%)
HSVhsv(287, 76%, 49%)
CMYKcmyk(16.9%, 75.8%, 0%, 51.4%)
CIE-LABlab(27.48, 46.19, -37.90)
CIE-LCHlch(27.48, 59.75, 320.63°)
OKLaboklab(39.53% 0.1164 -0.1065)
OKLCHoklch(39.53% 0.158 317.5)
XYZxyz(9.6954, 5.2678, 19.5710)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E7C #337C1E
analogous
#381E7C #671E7C #7C1E62
triadic
#671E7C #7C671E #1E7C67
tetradic
#671E7C #7C381E #337C1E #1E627C
square
#671E7C #7C381E #337C1E #1E627C
split-complementary
#671E7C #627C1E #1E7C38
monochromatic
#150619 #3E124B #671E7C #902AAD #B243D1

Accessibility & contrast

On white

10.23
#671E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#671E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671E7C
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E7C#FFFFFF#000000##FFFFFF
##671E7C1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#21437A
Tritanopia (blue-blind)
#66314B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671e7c;
/* rgb */ color: rgb(103, 30, 124);
/* oklch */ color: oklch(39.5% 0.158 317.5);
Tailwind
colors: {
  custom: {
    50: '#9662a2',
    500: '#671e7c',
    950: '#000000',
  },
}
SCSS
$custom: #671e7c;
$custom-light: #9662a2;
$custom-dark: #000000;
JSON
{
  "hex": "#671e7c",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 286.596,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39527,
    "c": 0.15776,
    "h": 317.5
  },
  "luminance": 0.05267
}

Semantic roles & 50–950 ramp

primary
#671E7C
secondary
#5EAF46
accent
#E44468
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671E7C

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

Preview Lab → · Contrast checker → · Palette generator →

#671E7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva