#671DB4#671DB4

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

Color values

HEX#671DB4
RGBrgb(103, 29, 180)
HSLhsl(269, 72%, 41%)
HSVhsv(269, 84%, 71%)
CMYKcmyk(42.8%, 83.9%, 0%, 29.4%)
CIE-LABlab(31.94, 59.11, -64.97)
CIE-LCHlch(31.94, 87.84, 312.30°)
OKLaboklab(44.06% 0.1032 -0.186)
OKLCHoklch(44.06% 0.213 299)
XYZxyz(14.2690, 7.0574, 43.7816)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671DB4 #6AB41D
analogous
#1D1EB4 #671DB4 #B21DB4
triadic
#671DB4 #B4671D #1DB467
tetradic
#671DB4 #B41D1E #6AB41D #1DB4B2
square
#671DB4 #B41D1E #6AB41D #1DB4B2
split-complementary
#671DB4 #B4B21D #1EB41D
monochromatic
#2B0C4B #49157F #671DB4 #8530DE #A465E6

Accessibility & contrast

On white

8.71
#671DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#671DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671DB4
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671DB4#FFFFFF#000000##FFFFFF
##671DB41.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.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: #671db4;
/* rgb */ color: rgb(103, 29, 180);
/* oklch */ color: oklch(44.1% 0.213 299.0);
Tailwind
colors: {
  custom: {
    50: '#9a65cc',
    500: '#671db4',
    950: '#000000',
  },
}
SCSS
$custom: #671db4;
$custom-light: #9a65cc;
$custom-dark: #000000;
JSON
{
  "hex": "#671db4",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 180
  },
  "hsl": {
    "h": 269.404,
    "s": 72.249,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44062,
    "c": 0.21271,
    "h": 299
  },
  "luminance": 0.07058
}

Semantic roles & 50–950 ramp

primary
#671DB4
secondary
#97CB61
accent
#EF3996
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #671DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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