#671FA1#671FA1

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

Color values

HEX#671FA1
RGBrgb(103, 31, 161)
HSLhsl(273, 68%, 38%)
HSVhsv(273, 81%, 63%)
CMYKcmyk(36%, 80.7%, 0%, 36.9%)
CIE-LABlab(30.49, 53.99, -55.92)
CIE-LCHlch(30.49, 77.73, 313.99°)
OKLaboklab(42.54% 0.1078 -0.1595)
OKLCHoklch(42.54% 0.193 304.1)
XYZxyz(12.5150, 6.4368, 34.2944)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671FA1 #59A11F
analogous
#261FA1 #671FA1 #A11F9A
triadic
#671FA1 #A1671F #1FA167
tetradic
#671FA1 #A1261F #59A11F #1F9AA1
square
#671FA1 #A1261F #59A11F #1F9AA1
split-complementary
#671FA1 #9AA11F #1FA126
monochromatic
#250B3A #46156E #671FA1 #8829D4 #A45BDF

Accessibility & contrast

On white

9.18
#671FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#671FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671FA1
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671FA1#FFFFFF#000000##FFFFFF
##671FA11.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#00489E
Tritanopia (blue-blind)
#5B4261
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #671fa1;
/* rgb */ color: rgb(103, 31, 161);
/* oklch */ color: oklch(42.5% 0.193 304.1);
Tailwind
colors: {
  custom: {
    50: '#9864be',
    500: '#671fa1',
    950: '#000000',
  },
}
SCSS
$custom: #671fa1;
$custom-light: #9864be;
$custom-dark: #000000;
JSON
{
  "hex": "#671fa1",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 273.231,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42542,
    "c": 0.19252,
    "h": 304.1
  },
  "luminance": 0.06437
}

Semantic roles & 50–950 ramp

primary
#671FA1
secondary
#88C458
accent
#EB3D8B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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