#671EB1#671EB1

#671EB1 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.9% C 0.209 H 299.7°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#671EB1
RGBrgb(103, 30, 177)
HSLhsl(270, 71%, 41%)
HSVhsv(270, 83%, 69%)
CMYKcmyk(41.8%, 83.1%, 0%, 30.6%)
CIE-LABlab(31.78, 58.08, -63.44)
CIE-LCHlch(31.78, 86.01, 312.47°)
OKLaboklab(43.87% 0.1036 -0.1816)
OKLCHoklch(43.87% 0.209 299.7)
XYZxyz(13.9916, 6.9863, 42.1978)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671EB1 #68B11E
analogous
#1E1FB1 #671EB1 #B01EB1
triadic
#671EB1 #B1671E #1EB167
tetradic
#671EB1 #B11E1F #68B11E #1EB1B0
square
#671EB1 #B11E1F #68B11E #1EB1B0
split-complementary
#671EB1 #B1B01E #1FB11E
monochromatic
#2A0C48 #49157D #671EB1 #8630DC #A465E5

Accessibility & contrast

On white

8.76
#671EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#671EB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671EB1
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671EB1#FFFFFF#000000##FFFFFF
##671EB11.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#004AAE
Tritanopia (blue-blind)
#55496A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #671eb1;
/* rgb */ color: rgb(103, 30, 177);
/* oklch */ color: oklch(43.9% 0.209 299.7);
Tailwind
colors: {
  custom: {
    50: '#9a65c9',
    500: '#671eb1',
    950: '#000000',
  },
}
SCSS
$custom: #671eb1;
$custom-light: #9a65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#671eb1",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 177
  },
  "hsl": {
    "h": 269.796,
    "s": 71.014,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43867,
    "c": 0.20902,
    "h": 299.7
  },
  "luminance": 0.06986
}

Semantic roles & 50–950 ramp

primary
#671EB1
secondary
#96CA61
accent
#EE3A95
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #671EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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