#671E8E#671E8E

#671E8E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.175 H 310.4°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#671E8E
RGBrgb(103, 30, 142)
HSLhsl(279, 65%, 34%)
HSVhsv(279, 79%, 56%)
CMYKcmyk(27.5%, 78.9%, 0%, 44.3%)
CIE-LABlab(28.81, 50.05, -47.01)
CIE-LCHlch(28.81, 68.67, 316.80°)
OKLaboklab(40.89% 0.1134 -0.1333)
OKLCHoklch(40.89% 0.175 310.4)
XYZxyz(10.9393, 5.7654, 26.1225)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E8E #458E1E
analogous
#2F1E8E #671E8E #8E1E7D
triadic
#671E8E #8E671E #1E8E67
tetradic
#671E8E #8E2F1E #458E1E #1E7D8E
square
#671E8E #8E2F1E #458E1E #1E7D8E
split-complementary
#671E8E #7D8E1E #1E8E2F
monochromatic
#1E0929 #42135B #671E8E #8C29C1 #A94DD9

Accessibility & contrast

On white

9.75
#671E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#671E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671E8E
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E8E#FFFFFF#000000##FFFFFF
##671E8E1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#623955
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671e8e;
/* rgb */ color: rgb(103, 30, 142);
/* oklch */ color: oklch(40.9% 0.175 310.4);
Tailwind
colors: {
  custom: {
    50: '#9763b0',
    500: '#671e8e',
    950: '#000000',
  },
}
SCSS
$custom: #671e8e;
$custom-light: #9763b0;
$custom-dark: #000000;
JSON
{
  "hex": "#671e8e",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 279.107,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40886,
    "c": 0.17502,
    "h": 310.4
  },
  "luminance": 0.05765
}

Semantic roles & 50–950 ramp

primary
#671E8E
secondary
#73BC4C
accent
#E8407A
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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