#671E8F#671E8F

#671E8F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.176 H 310.0°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#671E8F
RGBrgb(103, 30, 143)
HSLhsl(279, 65%, 34%)
HSVhsv(279, 79%, 56%)
CMYKcmyk(28%, 79%, 0%, 43.9%)
CIE-LABlab(28.89, 50.28, -47.50)
CIE-LCHlch(28.89, 69.17, 316.62°)
OKLaboklab(40.97% 0.1132 -0.1347)
OKLCHoklch(40.97% 0.176 310)
XYZxyz(11.0147, 5.7955, 26.5197)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E8F #468F1E
analogous
#2F1E8F #671E8F #8F1E7F
triadic
#671E8F #8F671E #1E8F67
tetradic
#671E8F #8F2F1E #468F1E #1E7F8F
square
#671E8F #8F2F1E #468F1E #1E7F8F
split-complementary
#671E8F #7F8F1E #1E8F2F
monochromatic
#1E092A #43135C #671E8F #8B29C2 #A84EDA

Accessibility & contrast

On white

9.73
#671E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#671E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671E8F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E8F#FFFFFF#000000##FFFFFF
##671E8F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#613A56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671e8f;
/* rgb */ color: rgb(103, 30, 143);
/* oklch */ color: oklch(41.0% 0.176 310.0);
Tailwind
colors: {
  custom: {
    50: '#9763b1',
    500: '#671e8f',
    950: '#000000',
  },
}
SCSS
$custom: #671e8f;
$custom-light: #9763b1;
$custom-dark: #000000;
JSON
{
  "hex": "#671e8f",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 278.761,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40966,
    "c": 0.17598,
    "h": 310
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#671E8F
secondary
#74BC4C
accent
#E8407B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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