#671F7C#671F7C

#671F7C is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.157 H 317.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#671F7C
RGBrgb(103, 31, 124)
HSLhsl(286, 60%, 30%)
HSVhsv(286, 75%, 49%)
CMYKcmyk(16.9%, 75%, 0%, 51.4%)
CIE-LABlab(27.63, 45.79, -37.67)
CIE-LCHlch(27.63, 59.29, 320.55°)
OKLaboklab(39.63% 0.1153 -0.1059)
OKLCHoklch(39.63% 0.157 317.4)
XYZxyz(9.7211, 5.3192, 19.5795)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F7C #347C1F
analogous
#391F7C #671F7C #7C1F62
triadic
#671F7C #7C671F #1F7C67
tetradic
#671F7C #7C391F #347C1F #1F627C
square
#671F7C #7C391F #347C1F #1F627C
split-complementary
#671F7C #627C1F #1F7C39
monochromatic
#16071A #3E134B #671F7C #902BAD #B145D0

Accessibility & contrast

On white

10.18
#671F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#671F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F7C
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F7C#FFFFFF#000000##FFFFFF
##671F7C1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#22437A
Tritanopia (blue-blind)
#66324C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671f7c;
/* rgb */ color: rgb(103, 31, 124);
/* oklch */ color: oklch(39.6% 0.157 317.4);
Tailwind
colors: {
  custom: {
    50: '#9662a2',
    500: '#671f7c',
    950: '#000000',
  },
}
SCSS
$custom: #671f7c;
$custom-light: #9662a2;
$custom-dark: #000000;
JSON
{
  "hex": "#671f7c",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 286.452,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39628,
    "c": 0.15655,
    "h": 317.4
  },
  "luminance": 0.05319
}

Semantic roles & 50–950 ramp

primary
#671F7C
secondary
#5FAF48
accent
#E34568
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #671F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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