#671D98#671D98

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

Color values

HEX#671D98
RGBrgb(103, 29, 152)
HSLhsl(276, 68%, 35%)
HSVhsv(276, 81%, 60%)
CMYKcmyk(32.2%, 80.9%, 0%, 40.4%)
CIE-LABlab(29.49, 52.66, -52.07)
CIE-LCHlch(29.49, 74.06, 315.32°)
OKLaboklab(41.61% 0.1119 -0.1482)
OKLCHoklch(41.61% 0.186 307.1)
XYZxyz(11.6992, 6.0294, 30.2472)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D98 #4E981D
analogous
#2A1D98 #671D98 #981D8B
triadic
#671D98 #98671D #1D9867
tetradic
#671D98 #982A1D #4E981D #1D8B98
square
#671D98 #982A1D #4E981D #1D8B98
split-complementary
#671D98 #8B981D #1D982A
monochromatic
#210931 #441365 #671D98 #8A27CB #A652DE

Accessibility & contrast

On white

9.52
#671D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#671D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671D98
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671D98#FFFFFF#000000##FFFFFF
##671D981.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.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: #671d98;
/* rgb */ color: rgb(103, 29, 152);
/* oklch */ color: oklch(41.6% 0.186 307.1);
Tailwind
colors: {
  custom: {
    50: '#9863b7',
    500: '#671d98',
    950: '#000000',
  },
}
SCSS
$custom: #671d98;
$custom-light: #9863b7;
$custom-dark: #000000;
JSON
{
  "hex": "#671d98",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 152
  },
  "hsl": {
    "h": 276.098,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41609,
    "c": 0.18566,
    "h": 307.1
  },
  "luminance": 0.06029
}

Semantic roles & 50–950 ramp

primary
#671D98
secondary
#7DC150
accent
#EB3D82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671D98

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

Preview Lab → · Contrast checker → · Palette generator →

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