#671C8E#671C8E

#671C8E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.177 H 310.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#671C8E
RGBrgb(103, 28, 142)
HSLhsl(279, 67%, 33%)
HSVhsv(279, 80%, 56%)
CMYKcmyk(27.5%, 80.3%, 0%, 44.3%)
CIE-LABlab(28.56, 50.79, -47.43)
CIE-LCHlch(28.56, 69.49, 316.96°)
OKLaboklab(40.71% 0.1152 -0.1345)
OKLCHoklch(40.71% 0.177 310.6)
XYZxyz(10.8903, 5.6673, 26.1062)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C8E #438E1C
analogous
#2E1C8E #671C8E #8E1C7C
triadic
#671C8E #8E671C #1C8E67
tetradic
#671C8E #8E2E1C #438E1C #1C7C8E
square
#671C8E #8E2E1C #438E1C #1C7C8E
split-complementary
#671C8E #7C8E1C #1C8E2E
monochromatic
#1D0828 #42125B #671C8E #8C26C1 #A949DB

Accessibility & contrast

On white

9.84
#671C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#671C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671C8E
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C8E#FFFFFF#000000##FFFFFF
##671C8E1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#623855
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671c8e;
/* rgb */ color: rgb(103, 28, 142);
/* oklch */ color: oklch(40.7% 0.177 310.6);
Tailwind
colors: {
  custom: {
    50: '#9762b0',
    500: '#671c8e',
    950: '#000000',
  },
}
SCSS
$custom: #671c8e;
$custom-light: #9762b0;
$custom-dark: #000000;
JSON
{
  "hex": "#671c8e",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 279.474,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40707,
    "c": 0.17707,
    "h": 310.6
  },
  "luminance": 0.05667
}

Semantic roles & 50–950 ramp

primary
#671C8E
secondary
#71BD49
accent
#EA3E79
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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