#671D8E#671D8E

#671D8E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.176 H 310.5°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#671D8E
RGBrgb(103, 29, 142)
HSLhsl(279, 66%, 34%)
HSVhsv(279, 80%, 56%)
CMYKcmyk(27.5%, 79.6%, 0%, 44.3%)
CIE-LABlab(28.68, 50.43, -47.22)
CIE-LCHlch(28.68, 69.09, 316.88°)
OKLaboklab(40.79% 0.1143 -0.1339)
OKLCHoklch(40.79% 0.176 310.5)
XYZxyz(10.9144, 5.7155, 26.1142)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D8E #448E1D
analogous
#2E1D8E #671D8E #8E1D7C
triadic
#671D8E #8E671D #1D8E67
tetradic
#671D8E #8E2E1D #448E1D #1D7C8E
square
#671D8E #8E2E1D #448E1D #1D7C8E
split-complementary
#671D8E #7C8E1D #1D8E2E
monochromatic
#1D0828 #42135B #671D8E #8C27C1 #A94BDA

Accessibility & contrast

On white

9.80
#671D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#671D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671D8E
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671D8E#FFFFFF#000000##FFFFFF
##671D8E1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671d8e;
/* rgb */ color: rgb(103, 29, 142);
/* oklch */ color: oklch(40.8% 0.176 310.5);
Tailwind
colors: {
  custom: {
    50: '#9762b0',
    500: '#671d8e',
    950: '#000000',
  },
}
SCSS
$custom: #671d8e;
$custom-light: #9762b0;
$custom-dark: #000000;
JSON
{
  "hex": "#671d8e",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 279.292,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40795,
    "c": 0.17605,
    "h": 310.5
  },
  "luminance": 0.05715
}

Semantic roles & 50–950 ramp

primary
#671D8E
secondary
#72BD4A
accent
#E93F7A
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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