#671D96#671D96

#671D96 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.184 H 307.7°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#671D96
RGBrgb(103, 29, 150)
HSLhsl(277, 68%, 35%)
HSVhsv(277, 81%, 59%)
CMYKcmyk(31.3%, 80.7%, 0%, 41.2%)
CIE-LABlab(29.32, 52.21, -51.11)
CIE-LCHlch(29.32, 73.06, 315.61°)
OKLaboklab(41.44% 0.1124 -0.1453)
OKLCHoklch(41.44% 0.184 307.7)
XYZxyz(11.5367, 5.9645, 29.3917)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D96 #4C961D
analogous
#2A1D96 #671D96 #961D89
triadic
#671D96 #96671D #1D9667
tetradic
#671D96 #962A1D #4C961D #1D8996
square
#671D96 #962A1D #4C961D #1D8996
split-complementary
#671D96 #89961D #1D962A
monochromatic
#21092F #441363 #671D96 #8A27C9 #A650DD

Accessibility & contrast

On white

9.58
#671D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#671D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671D96
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671D96#FFFFFF#000000##FFFFFF
##671D961.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#5F3C5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #671d96;
/* rgb */ color: rgb(103, 29, 150);
/* oklch */ color: oklch(41.4% 0.184 307.7);
Tailwind
colors: {
  custom: {
    50: '#9763b6',
    500: '#671d96',
    950: '#000000',
  },
}
SCSS
$custom: #671d96;
$custom-light: #9763b6;
$custom-dark: #000000;
JSON
{
  "hex": "#671d96",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 276.694,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41444,
    "c": 0.18373,
    "h": 307.7
  },
  "luminance": 0.05964
}

Semantic roles & 50–950 ramp

primary
#671D96
secondary
#7BC04F
accent
#EA3D81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671D96

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

Preview Lab → · Contrast checker → · Palette generator →

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