#671D9C#671D9C

#671D9C is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.190 H 305.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#671D9C
RGBrgb(103, 29, 156)
HSLhsl(275, 69%, 36%)
HSVhsv(275, 81%, 61%)
CMYKcmyk(34%, 81.4%, 0%, 38.8%)
CIE-LABlab(29.82, 53.56, -53.98)
CIE-LCHlch(29.82, 76.04, 314.78°)
OKLaboklab(41.95% 0.1108 -0.1538)
OKLCHoklch(41.95% 0.19 305.8)
XYZxyz(12.0323, 6.1627, 32.0017)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D9C #529C1D
analogous
#281D9C #671D9C #9C1D92
triadic
#671D9C #9C671D #1D9C67
tetradic
#671D9C #9C281D #529C1D #1D929C
square
#671D9C #9C281D #529C1D #1D929C
split-complementary
#671D9C #929C1D #1D9C28
monochromatic
#230A35 #451368 #671D9C #8927D0 #A554DF

Accessibility & contrast

On white

9.41
#671D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671D9C
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671D9C#FFFFFF#000000##FFFFFF
##671D9C1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#5D3F5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #671d9c;
/* rgb */ color: rgb(103, 29, 156);
/* oklch */ color: oklch(41.9% 0.190 305.8);
Tailwind
colors: {
  custom: {
    50: '#9863ba',
    500: '#671d9c',
    950: '#000000',
  },
}
SCSS
$custom: #671d9c;
$custom-light: #9863ba;
$custom-dark: #000000;
JSON
{
  "hex": "#671d9c",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 274.961,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41945,
    "c": 0.18952,
    "h": 305.8
  },
  "luminance": 0.06163
}

Semantic roles & 50–950 ramp

primary
#671D9C
secondary
#81C252
accent
#EB3C85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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