#671AA1#671AA1

#671AA1 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.197 H 304.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#671AA1
RGBrgb(103, 26, 161)
HSLhsl(274, 72%, 37%)
HSVhsv(274, 84%, 63%)
CMYKcmyk(36%, 83.9%, 0%, 36.9%)
CIE-LABlab(29.90, 55.70, -56.88)
CIE-LCHlch(29.90, 79.62, 314.40°)
OKLaboklab(42.13% 0.1115 -0.1623)
OKLCHoklch(42.13% 0.197 304.5)
XYZxyz(12.3944, 6.1956, 34.2542)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671AA1 #54A11A
analogous
#231AA1 #671AA1 #A11A98
triadic
#671AA1 #A1671A #1AA167
tetradic
#671AA1 #A1231A #54A11A #1A98A1
square
#671AA1 #A1231A #54A11A #1A98A1
split-complementary
#671AA1 #98A11A #1AA123
monochromatic
#240938 #45116C #671AA1 #8923D6 #A552E3

Accessibility & contrast

On white

9.38
#671AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#671AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671AA1
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671AA1#FFFFFF#000000##FFFFFF
##671AA11.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#5B4060
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #671aa1;
/* rgb */ color: rgb(103, 26, 161);
/* oklch */ color: oklch(42.1% 0.197 304.5);
Tailwind
colors: {
  custom: {
    50: '#9962be',
    500: '#671aa1',
    950: '#000000',
  },
}
SCSS
$custom: #671aa1;
$custom-light: #9962be;
$custom-dark: #000000;
JSON
{
  "hex": "#671aa1",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 274.222,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42133,
    "c": 0.19689,
    "h": 304.5
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#671AA1
secondary
#83C651
accent
#EF3987
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #671AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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