#671C98#671C98

#671C98 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.187 H 307.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#671C98
RGBrgb(103, 28, 152)
HSLhsl(276, 69%, 35%)
HSVhsv(276, 82%, 60%)
CMYKcmyk(32.2%, 81.6%, 0%, 40.4%)
CIE-LABlab(29.36, 53.01, -52.27)
CIE-LCHlch(29.36, 74.45, 315.40°)
OKLaboklab(41.52% 0.1127 -0.1487)
OKLCHoklch(41.52% 0.187 307.1)
XYZxyz(11.6750, 5.9812, 30.2391)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C98 #4D981C
analogous
#291C98 #671C98 #981C8B
triadic
#671C98 #98671C #1C9867
tetradic
#671C98 #98291C #4D981C #1C8B98
square
#671C98 #98291C #4D981C #1C8B98
split-complementary
#671C98 #8B981C #1C9829
monochromatic
#210931 #441264 #671C98 #8A26CC #A650DF

Accessibility & contrast

On white

9.56
#671C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#671C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671C98
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C98#FFFFFF#000000##FFFFFF
##671C981.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#5F3D5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #671c98;
/* rgb */ color: rgb(103, 28, 152);
/* oklch */ color: oklch(41.5% 0.187 307.1);
Tailwind
colors: {
  custom: {
    50: '#9862b7',
    500: '#671c98',
    950: '#000000',
  },
}
SCSS
$custom: #671c98;
$custom-light: #9862b7;
$custom-dark: #000000;
JSON
{
  "hex": "#671c98",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 152
  },
  "hsl": {
    "h": 276.29,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41524,
    "c": 0.1866,
    "h": 307.1
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#671C98
secondary
#7CC14E
accent
#EC3C81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671C98

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

Preview Lab → · Contrast checker → · Palette generator →

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