#671A99#671A99

#671A99 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.189 H 307.0°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#671A99
RGBrgb(103, 26, 153)
HSLhsl(276, 71%, 35%)
HSVhsv(276, 83%, 60%)
CMYKcmyk(32.7%, 83%, 0%, 40%)
CIE-LABlab(29.22, 53.91, -53.13)
CIE-LCHlch(29.22, 75.69, 315.42°)
OKLaboklab(41.45% 0.1139 -0.1512)
OKLCHoklch(41.45% 0.189 307)
XYZxyz(11.7114, 5.9224, 30.6570)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A99 #4C991A
analogous
#271A99 #671A99 #991A8B
triadic
#671A99 #99671A #1A9967
tetradic
#671A99 #99271A #4C991A #1A8B99
square
#671A99 #99271A #4C991A #1A8B99
split-complementary
#671A99 #8B991A #1A9927
monochromatic
#210830 #441165 #671A99 #8A23CD #A64DE1

Accessibility & contrast

On white

9.61
#671A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#671A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A99
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A99#FFFFFF#000000##FFFFFF
##671A991.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#5E3D5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #671a99;
/* rgb */ color: rgb(103, 26, 153);
/* oklch */ color: oklch(41.4% 0.189 307.0);
Tailwind
colors: {
  custom: {
    50: '#9862b8',
    500: '#671a99',
    950: '#000000',
  },
}
SCSS
$custom: #671a99;
$custom-light: #9862b8;
$custom-dark: #000000;
JSON
{
  "hex": "#671a99",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 153
  },
  "hsl": {
    "h": 276.378,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41446,
    "c": 0.18934,
    "h": 307
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#671A99
secondary
#7BC34C
accent
#EE3A81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671A99

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

Preview Lab → · Contrast checker → · Palette generator →

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