#671AB1#671AB1

#671AB1 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.6% C 0.212 H 300.0°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#671AB1
RGBrgb(103, 26, 177)
HSLhsl(271, 74%, 40%)
HSVhsv(271, 85%, 69%)
CMYKcmyk(41.8%, 85.3%, 0%, 30.6%)
CIE-LABlab(31.34, 59.36, -64.16)
CIE-LCHlch(31.34, 87.41, 312.77°)
OKLaboklab(43.57% 0.1061 -0.1836)
OKLCHoklch(43.57% 0.212 300)
XYZxyz(13.8967, 6.7965, 42.1662)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671AB1 #64B11A
analogous
#1C1AB1 #671AB1 #B11AB0
triadic
#671AB1 #B1671A #1AB167
tetradic
#671AB1 #B11C1A #64B11A #1AB0B1
square
#671AB1 #B11C1A #64B11A #1AB0B1
split-complementary
#671AB1 #B0B11A #1AB11C
monochromatic
#290A46 #48127C #671AB1 #8629E0 #A45EE7

Accessibility & contrast

On white

8.90
#671AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#671AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671AB1
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671AB1#FFFFFF#000000##FFFFFF
##671AB11.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#0049AE
Tritanopia (blue-blind)
#554769
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #671ab1;
/* rgb */ color: rgb(103, 26, 177);
/* oklch */ color: oklch(43.6% 0.212 300.0);
Tailwind
colors: {
  custom: {
    50: '#9a63c9',
    500: '#671ab1',
    950: '#000000',
  },
}
SCSS
$custom: #671ab1;
$custom-light: #9a63c9;
$custom-dark: #000000;
JSON
{
  "hex": "#671ab1",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 177
  },
  "hsl": {
    "h": 270.596,
    "s": 74.384,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43566,
    "c": 0.21206,
    "h": 300
  },
  "luminance": 0.06797
}

Semantic roles & 50–950 ramp

primary
#671AB1
secondary
#92CB5B
accent
#F13792
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #671AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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