#671A9F#671A9F

#671A9F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 42.0% C 0.195 H 305.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#671A9F
RGBrgb(103, 26, 159)
HSLhsl(275, 72%, 36%)
HSVhsv(275, 84%, 62%)
CMYKcmyk(35.2%, 83.6%, 0%, 37.6%)
CIE-LABlab(29.73, 55.25, -55.95)
CIE-LCHlch(29.73, 78.64, 314.64°)
OKLaboklab(41.96% 0.1121 -0.1595)
OKLCHoklch(41.96% 0.195 305.1)
XYZxyz(12.2195, 6.1256, 33.3328)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A9F #529F1A
analogous
#251A9F #671A9F #9F1A95
triadic
#671A9F #9F671A #1A9F67
tetradic
#671A9F #9F251A #529F1A #1A959F
square
#671A9F #9F251A #529F1A #1A959F
split-complementary
#671A9F #959F1A #1A9F25
monochromatic
#230936 #45116A #671A9F #8923D4 #A551E3

Accessibility & contrast

On white

9.44
#671A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#671A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A9F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A9F#FFFFFF#000000##FFFFFF
##671A9F1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671a9f;
/* rgb */ color: rgb(103, 26, 159);
/* oklch */ color: oklch(42.0% 0.195 305.1);
Tailwind
colors: {
  custom: {
    50: '#9862bc',
    500: '#671a9f',
    950: '#000000',
  },
}
SCSS
$custom: #671a9f;
$custom-light: #9862bc;
$custom-dark: #000000;
JSON
{
  "hex": "#671a9f",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 274.737,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4196,
    "c": 0.195,
    "h": 305.1
  },
  "luminance": 0.06126
}

Semantic roles & 50–950 ramp

primary
#671A9F
secondary
#81C550
accent
#EF3986
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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