#671E99#671E99

#671E99 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.186 H 306.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#671E99
RGBrgb(103, 30, 153)
HSLhsl(276, 67%, 36%)
HSVhsv(276, 80%, 60%)
CMYKcmyk(32.7%, 80.4%, 0%, 40%)
CIE-LABlab(29.69, 52.52, -52.35)
CIE-LCHlch(29.69, 74.15, 315.09°)
OKLaboklab(41.78% 0.1108 -0.149)
OKLCHoklch(41.78% 0.186 306.6)
XYZxyz(11.8063, 6.1121, 30.6886)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E99 #50991E
analogous
#2A1E99 #671E99 #991E8D
triadic
#671E99 #99671E #1E9967
tetradic
#671E99 #992A1E #50991E #1E8D99
square
#671E99 #992A1E #50991E #1E8D99
split-complementary
#671E99 #8D991E #1E992A
monochromatic
#220A33 #451466 #671E99 #8928CC #A654DD

Accessibility & contrast

On white

9.45
#671E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#671E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671E99
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E99#FFFFFF#000000##FFFFFF
##671E991.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#5E3E5C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #671e99;
/* rgb */ color: rgb(103, 30, 153);
/* oklch */ color: oklch(41.8% 0.186 306.6);
Tailwind
colors: {
  custom: {
    50: '#9863b8',
    500: '#671e99',
    950: '#000000',
  },
}
SCSS
$custom: #671e99;
$custom-light: #9863b8;
$custom-dark: #000000;
JSON
{
  "hex": "#671e99",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 275.61,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41779,
    "c": 0.18567,
    "h": 306.6
  },
  "luminance": 0.06112
}

Semantic roles & 50–950 ramp

primary
#671E99
secondary
#7FC152
accent
#EA3E84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671E99

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

Preview Lab → · Contrast checker → · Palette generator →

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