#671C9F#671C9F

#671C9F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.193 H 304.9°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#671C9F
RGBrgb(103, 28, 159)
HSLhsl(274, 70%, 37%)
HSVhsv(274, 82%, 62%)
CMYKcmyk(35.2%, 82.4%, 0%, 37.6%)
CIE-LABlab(29.95, 54.59, -55.58)
CIE-LCHlch(29.95, 77.91, 314.48°)
OKLaboklab(42.12% 0.1107 -0.1585)
OKLCHoklch(42.12% 0.193 304.9)
XYZxyz(12.2654, 6.2173, 33.3481)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C9F #549F1C
analogous
#261C9F #671C9F #9F1C96
triadic
#671C9F #9F671C #1C9F67
tetradic
#671C9F #9F261C #549F1C #1C969F
square
#671C9F #9F261C #549F1C #1C969F
split-complementary
#671C9F #969F1C #1C9F26
monochromatic
#240A37 #45136B #671C9F #8925D3 #A554E1

Accessibility & contrast

On white

9.36
#671C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#671C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671C9F
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C9F#FFFFFF#000000##FFFFFF
##671C9F1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#5C405F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #671c9f;
/* rgb */ color: rgb(103, 28, 159);
/* oklch */ color: oklch(42.1% 0.193 304.9);
Tailwind
colors: {
  custom: {
    50: '#9863bc',
    500: '#671c9f',
    950: '#000000',
  },
}
SCSS
$custom: #671c9f;
$custom-light: #9863bc;
$custom-dark: #000000;
JSON
{
  "hex": "#671c9f",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 274.351,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42117,
    "c": 0.19329,
    "h": 304.9
  },
  "luminance": 0.06217
}

Semantic roles & 50–950 ramp

primary
#671C9F
secondary
#83C453
accent
#ED3B87
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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