#671B9E#671B9E

#671B9E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 42.0% C 0.193 H 305.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#671B9E
RGBrgb(103, 27, 158)
HSLhsl(275, 71%, 36%)
HSVhsv(275, 83%, 62%)
CMYKcmyk(34.8%, 82.9%, 0%, 38%)
CIE-LABlab(29.75, 54.70, -55.30)
CIE-LCHlch(29.75, 77.78, 314.69°)
OKLaboklab(41.95% 0.1117 -0.1576)
OKLCHoklch(41.95% 0.193 305.3)
XYZxyz(12.1556, 6.1361, 32.8851)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B9E #529E1B
analogous
#261B9E #671B9E #9E1B94
triadic
#671B9E #9E671B #1B9E67
tetradic
#671B9E #9E261B #529E1B #1B949E
square
#671B9E #9E261B #529E1B #1B949E
split-complementary
#671B9E #949E1B #1B9E26
monochromatic
#230935 #45126A #671B9E #8924D2 #A552E1

Accessibility & contrast

On white

9.43
#671B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671B9E
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B9E#FFFFFF#000000##FFFFFF
##671B9E1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#5D3F5E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #671b9e;
/* rgb */ color: rgb(103, 27, 158);
/* oklch */ color: oklch(42.0% 0.193 305.3);
Tailwind
colors: {
  custom: {
    50: '#9862bc',
    500: '#671b9e',
    950: '#000000',
  },
}
SCSS
$custom: #671b9e;
$custom-light: #9862bc;
$custom-dark: #000000;
JSON
{
  "hex": "#671b9e",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 274.809,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41951,
    "c": 0.19321,
    "h": 305.3
  },
  "luminance": 0.06136
}

Semantic roles & 50–950 ramp

primary
#671B9E
secondary
#81C451
accent
#EE3A86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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