#671C9E#671C9E

#671C9E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.192 H 305.2°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#671C9E
RGBrgb(103, 28, 158)
HSLhsl(275, 70%, 36%)
HSVhsv(275, 82%, 62%)
CMYKcmyk(34.8%, 82.3%, 0%, 38%)
CIE-LABlab(29.87, 54.36, -55.11)
CIE-LCHlch(29.87, 77.41, 314.61°)
OKLaboklab(42.03% 0.111 -0.1571)
OKLCHoklch(42.03% 0.192 305.2)
XYZxyz(12.1789, 6.1828, 32.8929)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C9E #539E1C
analogous
#261C9E #671C9E #9E1C94
triadic
#671C9E #9E671C #1C9E67
tetradic
#671C9E #9E261C #539E1C #1C949E
square
#671C9E #9E261C #539E1C #1C949E
split-complementary
#671C9E #949E1C #1C9E26
monochromatic
#230A36 #45136A #671C9E #8925D2 #A554E1

Accessibility & contrast

On white

9.39
#671C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671C9E
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C9E#FFFFFF#000000##FFFFFF
##671C9E1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#5D405E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #671c9e;
/* rgb */ color: rgb(103, 28, 158);
/* oklch */ color: oklch(42.0% 0.192 305.2);
Tailwind
colors: {
  custom: {
    50: '#9863bc',
    500: '#671c9e',
    950: '#000000',
  },
}
SCSS
$custom: #671c9e;
$custom-light: #9863bc;
$custom-dark: #000000;
JSON
{
  "hex": "#671c9e",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 158
  },
  "hsl": {
    "h": 274.615,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42032,
    "c": 0.19234,
    "h": 305.2
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#671C9E
secondary
#82C452
accent
#ED3B86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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