#671B98#671B98

#671B98 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.188 H 307.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#671B98
RGBrgb(103, 27, 152)
HSLhsl(276, 70%, 35%)
HSVhsv(276, 82%, 60%)
CMYKcmyk(32.2%, 82.2%, 0%, 40.4%)
CIE-LABlab(29.25, 53.35, -52.46)
CIE-LCHlch(29.25, 74.83, 315.48°)
OKLaboklab(41.44% 0.1134 -0.1493)
OKLCHoklch(41.44% 0.188 307.2)
XYZxyz(11.6517, 5.9346, 30.2313)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B98 #4C981B
analogous
#291B98 #671B98 #981B8A
triadic
#671B98 #98671B #1B9867
tetradic
#671B98 #98291B #4C981B #1B8A98
square
#671B98 #98291B #4C981B #1B8A98
split-complementary
#671B98 #8A981B #1B9829
monochromatic
#210930 #441264 #671B98 #8A24CC #A64EE0

Accessibility & contrast

On white

9.60
#671B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671B98
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B98#FFFFFF#000000##FFFFFF
##671B981.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671b98;
/* rgb */ color: rgb(103, 27, 152);
/* oklch */ color: oklch(41.4% 0.188 307.2);
Tailwind
colors: {
  custom: {
    50: '#9862b7',
    500: '#671b98',
    950: '#000000',
  },
}
SCSS
$custom: #671b98;
$custom-light: #9862b7;
$custom-dark: #000000;
JSON
{
  "hex": "#671b98",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 152
  },
  "hsl": {
    "h": 276.48,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41442,
    "c": 0.18751,
    "h": 307.2
  },
  "luminance": 0.05934
}

Semantic roles & 50–950 ramp

primary
#671B98
secondary
#7BC24D
accent
#ED3B81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671B98

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

Preview Lab → · Contrast checker → · Palette generator →

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