#671DB3#671DB3

#671DB3 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 44.0% C 0.212 H 299.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#671DB3
RGBrgb(103, 29, 179)
HSLhsl(270, 72%, 41%)
HSVhsv(270, 84%, 70%)
CMYKcmyk(42.5%, 83.8%, 0%, 29.8%)
CIE-LABlab(31.85, 58.88, -64.52)
CIE-LCHlch(31.85, 87.35, 312.38°)
OKLaboklab(43.97% 0.1035 -0.1847)
OKLCHoklch(43.97% 0.212 299.3)
XYZxyz(14.1675, 7.0168, 43.2470)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671DB3 #69B31D
analogous
#1D1EB3 #671DB3 #B21DB3
triadic
#671DB3 #B3671D #1DB367
tetradic
#671DB3 #B31D1E #69B31D #1DB3B2
square
#671DB3 #B31D1E #69B31D #1DB3B2
split-complementary
#671DB3 #B3B21D #1EB31D
monochromatic
#2A0C4A #49147E #671DB3 #8530DD #A464E6

Accessibility & contrast

On white

8.74
#671DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671DB3
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671DB3#FFFFFF#000000##FFFFFF
##671DB31.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#54496B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #671db3;
/* rgb */ color: rgb(103, 29, 179);
/* oklch */ color: oklch(44.0% 0.212 299.3);
Tailwind
colors: {
  custom: {
    50: '#9a64cb',
    500: '#671db3',
    950: '#000000',
  },
}
SCSS
$custom: #671db3;
$custom-light: #9a64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#671db3",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 179
  },
  "hsl": {
    "h": 269.6,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43971,
    "c": 0.21175,
    "h": 299.3
  },
  "luminance": 0.07017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #671DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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