#671FA8#671FA8

#671FA8 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.199 H 302.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#671FA8
RGBrgb(103, 31, 168)
HSLhsl(272, 69%, 39%)
HSVhsv(272, 82%, 66%)
CMYKcmyk(38.7%, 81.5%, 0%, 34.1%)
CIE-LABlab(31.09, 55.62, -59.17)
CIE-LCHlch(31.09, 81.21, 313.23°)
OKLaboklab(43.15% 0.1058 -0.169)
OKLCHoklch(43.15% 0.199 302)
XYZxyz(13.1497, 6.6906, 37.6368)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671FA8 #60A81F
analogous
#231FA8 #671FA8 #A81FA5
triadic
#671FA8 #A8671F #1FA867
tetradic
#671FA8 #A8231F #60A81F #1FA5A8
square
#671FA8 #A8231F #60A81F #1FA5A8
split-complementary
#671FA8 #A5A81F #1FA823
monochromatic
#280C41 #471574 #671FA8 #862CD8 #A460E2

Accessibility & contrast

On white

8.98
#671FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#671FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671FA8
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671FA8#FFFFFF#000000##FFFFFF
##671FA81.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#594565
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #671fa8;
/* rgb */ color: rgb(103, 31, 168);
/* oklch */ color: oklch(43.1% 0.199 302.0);
Tailwind
colors: {
  custom: {
    50: '#9965c3',
    500: '#671fa8',
    950: '#000000',
  },
}
SCSS
$custom: #671fa8;
$custom-light: #9965c3;
$custom-dark: #000000;
JSON
{
  "hex": "#671fa8",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 271.533,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43148,
    "c": 0.19938,
    "h": 302
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#671FA8
secondary
#8FC65D
accent
#EC3C8F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #671FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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