#671AB4#671AB4

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

Color values

HEX#671AB4
RGBrgb(103, 26, 180)
HSLhsl(270, 75%, 40%)
HSVhsv(270, 86%, 71%)
CMYKcmyk(42.8%, 85.6%, 0%, 29.4%)
CIE-LABlab(31.62, 60.05, -65.49)
CIE-LCHlch(31.62, 88.86, 312.52°)
OKLaboklab(43.84% 0.105 -0.1875)
OKLCHoklch(43.84% 0.215 299.2)
XYZxyz(14.1990, 6.9174, 43.7583)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671AB4 #67B41A
analogous
#1A1AB4 #671AB4 #B41AB4
triadic
#671AB4 #B4671A #1AB467
tetradic
#671AB4 #B41A1A #67B41A #1AB4B4
square
#671AB4 #B41A1A #67B41A #1AB4B4
split-complementary
#671AB4 #B4B41A #1AB41A
monochromatic
#2A0B49 #48127F #671AB4 #862BE0 #A460E8

Accessibility & contrast

On white

8.81
#671AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671AB4
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671AB4#FFFFFF#000000##FFFFFF
##671AB41.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#54496B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #671ab4;
/* rgb */ color: rgb(103, 26, 180);
/* oklch */ color: oklch(43.8% 0.215 299.2);
Tailwind
colors: {
  custom: {
    50: '#9a63cc',
    500: '#671ab4',
    950: '#000000',
  },
}
SCSS
$custom: #671ab4;
$custom-light: #9a63cc;
$custom-dark: #000000;
JSON
{
  "hex": "#671ab4",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 180
  },
  "hsl": {
    "h": 270,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43843,
    "c": 0.21491,
    "h": 299.2
  },
  "luminance": 0.06918
}

Semantic roles & 50–950 ramp

primary
#671AB4
secondary
#95CC5D
accent
#F13694
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #671AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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