#671EB4#671EB4

#671EB4 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.1% C 0.212 H 298.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#671EB4
RGBrgb(103, 30, 180)
HSLhsl(269, 71%, 41%)
HSVhsv(269, 83%, 71%)
CMYKcmyk(42.8%, 83.3%, 0%, 29.4%)
CIE-LABlab(32.05, 58.78, -64.78)
CIE-LCHlch(32.05, 87.48, 312.22°)
OKLaboklab(44.14% 0.1025 -0.1855)
OKLCHoklch(44.14% 0.212 298.9)
XYZxyz(14.2939, 7.1072, 43.7899)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671EB4 #6BB41E
analogous
#1E20B4 #671EB4 #B21EB4
triadic
#671EB4 #B4671E #1EB467
tetradic
#671EB4 #B41E20 #6BB41E #1EB4B2
square
#671EB4 #B41E20 #6BB41E #1EB4B2
split-complementary
#671EB4 #B4B21E #20B41E
monochromatic
#2B0D4B #491580 #671EB4 #8532DD #A567E6

Accessibility & contrast

On white

8.67
#671EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#671EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671EB4
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671EB4#FFFFFF#000000##FFFFFF
##671EB41.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#544A6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #671eb4;
/* rgb */ color: rgb(103, 30, 180);
/* oklch */ color: oklch(44.1% 0.212 298.9);
Tailwind
colors: {
  custom: {
    50: '#9a65cc',
    500: '#671eb4',
    950: '#000000',
  },
}
SCSS
$custom: #671eb4;
$custom-light: #9a65cc;
$custom-dark: #000000;
JSON
{
  "hex": "#671eb4",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 180
  },
  "hsl": {
    "h": 269.2,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4414,
    "c": 0.21195,
    "h": 298.9
  },
  "luminance": 0.07107
}

Semantic roles & 50–950 ramp

primary
#671EB4
secondary
#98CB63
accent
#EE3A96
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #671EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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