#671AB3#671AB3

#671AB3 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.8% C 0.214 H 299.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#671AB3
RGBrgb(103, 26, 179)
HSLhsl(270, 75%, 40%)
HSVhsv(270, 85%, 70%)
CMYKcmyk(42.5%, 85.5%, 0%, 29.8%)
CIE-LABlab(31.52, 59.82, -65.05)
CIE-LCHlch(31.52, 88.37, 312.60°)
OKLaboklab(43.75% 0.1053 -0.1862)
OKLCHoklch(43.75% 0.214 299.5)
XYZxyz(14.0975, 6.8768, 43.2237)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671AB3 #66B31A
analogous
#1A1AB3 #671AB3 #B31AB2
triadic
#671AB3 #B3671A #1AB367
tetradic
#671AB3 #B31A1A #66B31A #1AB2B3
square
#671AB3 #B31A1A #66B31A #1AB2B3
split-complementary
#671AB3 #B2B31A #1AB31A
monochromatic
#2A0A48 #48127E #671AB3 #862AE0 #A460E8

Accessibility & contrast

On white

8.84
#671AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#671AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671AB3
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671AB3#FFFFFF#000000##FFFFFF
##671AB31.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#54486A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #671ab3;
/* rgb */ color: rgb(103, 26, 179);
/* oklch */ color: oklch(43.8% 0.214 299.5);
Tailwind
colors: {
  custom: {
    50: '#9a63cb',
    500: '#671ab3',
    950: '#000000',
  },
}
SCSS
$custom: #671ab3;
$custom-light: #9a63cb;
$custom-dark: #000000;
JSON
{
  "hex": "#671ab3",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 270.196,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4375,
    "c": 0.21396,
    "h": 299.5
  },
  "luminance": 0.06877
}

Semantic roles & 50–950 ramp

primary
#671AB3
secondary
#94CC5D
accent
#F13793
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #671AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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