#671AA0#671AA0

#671AA0 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.196 H 304.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#671AA0
RGBrgb(103, 26, 160)
HSLhsl(274, 72%, 36%)
HSVhsv(274, 84%, 63%)
CMYKcmyk(35.6%, 83.8%, 0%, 37.3%)
CIE-LABlab(29.81, 55.48, -56.42)
CIE-LCHlch(29.81, 79.13, 314.52°)
OKLaboklab(42.05% 0.1118 -0.1609)
OKLCHoklch(42.05% 0.196 304.8)
XYZxyz(12.3066, 6.1605, 33.7916)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671AA0 #53A01A
analogous
#241AA0 #671AA0 #A01A96
triadic
#671AA0 #A0671A #1AA067
tetradic
#671AA0 #A0241A #53A01A #1A96A0
square
#671AA0 #A0241A #53A01A #1A96A0
split-complementary
#671AA0 #96A01A #1AA024
monochromatic
#230937 #45116B #671AA0 #8923D5 #A552E3

Accessibility & contrast

On white

9.41
#671AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#671AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671AA0
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671AA0#FFFFFF#000000##FFFFFF
##671AA01.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#5C405F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #671aa0;
/* rgb */ color: rgb(103, 26, 160);
/* oklch */ color: oklch(42.0% 0.196 304.8);
Tailwind
colors: {
  custom: {
    50: '#9862bd',
    500: '#671aa0',
    950: '#000000',
  },
}
SCSS
$custom: #671aa0;
$custom-light: #9862bd;
$custom-dark: #000000;
JSON
{
  "hex": "#671aa0",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 274.478,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42046,
    "c": 0.19594,
    "h": 304.8
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#671AA0
secondary
#82C550
accent
#EF3986
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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