#671A91#671A91

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

Color values

HEX#671A91
RGBrgb(103, 26, 145)
HSLhsl(279, 70%, 34%)
HSVhsv(279, 82%, 57%)
CMYKcmyk(29%, 82.1%, 0%, 43.1%)
CIE-LABlab(28.56, 52.15, -49.28)
CIE-LCHlch(28.56, 71.75, 316.62°)
OKLaboklab(40.78% 0.1161 -0.1399)
OKLCHoklch(40.78% 0.182 309.7)
XYZxyz(11.0727, 5.6669, 27.2931)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A91 #44911A
analogous
#2C1A91 #671A91 #911A7F
triadic
#671A91 #91671A #1A9167
tetradic
#671A91 #912C1A #44911A #1A7F91
square
#671A91 #912C1A #44911A #1A7F91
split-complementary
#671A91 #7F911A #1A912C
monochromatic
#1D0729 #42115D #671A91 #8C23C5 #A947DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##671A91#FFFFFF#000000##FFFFFF
##671A911.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)
#004094
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#613956
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671a91;
/* rgb */ color: rgb(103, 26, 145);
/* oklch */ color: oklch(40.8% 0.182 309.7);
Tailwind
colors: {
  custom: {
    50: '#9761b2',
    500: '#671a91',
    950: '#000000',
  },
}
SCSS
$custom: #671a91;
$custom-light: #9761b2;
$custom-dark: #000000;
JSON
{
  "hex": "#671a91",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 145
  },
  "hsl": {
    "h": 278.824,
    "s": 69.591,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40781,
    "c": 0.18182,
    "h": 309.7
  },
  "luminance": 0.05667
}

Semantic roles & 50–950 ramp

primary
#671A91
secondary
#72C047
accent
#EC3B7A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #671A91

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

Preview Lab → · Contrast checker → · Palette generator →

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