#671CB3#671CB3

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

Color values

HEX#671CB3
RGBrgb(103, 28, 179)
HSLhsl(270, 73%, 41%)
HSVhsv(270, 84%, 70%)
CMYKcmyk(42.5%, 84.4%, 0%, 29.8%)
CIE-LABlab(31.74, 59.20, -64.70)
CIE-LCHlch(31.74, 87.70, 312.46°)
OKLaboklab(43.9% 0.1042 -0.1852)
OKLCHoklch(43.9% 0.213 299.3)
XYZxyz(14.1434, 6.9686, 43.2390)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671CB3 #68B31C
analogous
#1C1DB3 #671CB3 #B21CB3
triadic
#671CB3 #B3671C #1CB367
tetradic
#671CB3 #B31C1D #68B31C #1CB3B2
square
#671CB3 #B31C1D #68B31C #1CB3B2
split-complementary
#671CB3 #B3B21C #1DB31C
monochromatic
#2A0B49 #49147E #671CB3 #862EDE #A463E7

Accessibility & contrast

On white

8.77
#671CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#671CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671CB3
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671CB3#FFFFFF#000000##FFFFFF
##671CB31.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#54496B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #671cb3;
/* rgb */ color: rgb(103, 28, 179);
/* oklch */ color: oklch(43.9% 0.213 299.3);
Tailwind
colors: {
  custom: {
    50: '#9a64cb',
    500: '#671cb3',
    950: '#000000',
  },
}
SCSS
$custom: #671cb3;
$custom-light: #9a64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#671cb3",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 269.801,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43895,
    "c": 0.21251,
    "h": 299.3
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#671CB3
secondary
#96CB5F
accent
#F03895
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #671CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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