#671EA1#671EA1

#671EA1 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.193 H 304.2°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#671EA1
RGBrgb(103, 30, 161)
HSLhsl(273, 69%, 37%)
HSVhsv(273, 81%, 63%)
CMYKcmyk(36%, 81.4%, 0%, 36.9%)
CIE-LABlab(30.36, 54.35, -56.13)
CIE-LCHlch(30.36, 78.13, 314.08°)
OKLaboklab(42.46% 0.1086 -0.1601)
OKLCHoklch(42.46% 0.193 304.2)
XYZxyz(12.4893, 6.3854, 34.2858)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671EA1 #58A11E
analogous
#261EA1 #671EA1 #A11E9A
triadic
#671EA1 #A1671E #1EA167
tetradic
#671EA1 #A1261E #58A11E #1E9AA1
square
#671EA1 #A1261E #58A11E #1E9AA1
split-complementary
#671EA1 #9AA11E #1EA126
monochromatic
#250B3A #46146D #671EA1 #8828D5 #A459E0

Accessibility & contrast

On white

9.22
#671EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#671EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671EA1
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671EA1#FFFFFF#000000##FFFFFF
##671EA11.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#5B4260
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #671ea1;
/* rgb */ color: rgb(103, 30, 161);
/* oklch */ color: oklch(42.5% 0.193 304.2);
Tailwind
colors: {
  custom: {
    50: '#9864be',
    500: '#671ea1',
    950: '#000000',
  },
}
SCSS
$custom: #671ea1;
$custom-light: #9864be;
$custom-dark: #000000;
JSON
{
  "hex": "#671ea1",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 273.435,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42455,
    "c": 0.19344,
    "h": 304.2
  },
  "luminance": 0.06385
}

Semantic roles & 50–950 ramp

primary
#671EA1
secondary
#87C457
accent
#EB3C8A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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