#671A9E#671A9E

#671A9E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.194 H 305.4°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#671A9E
RGBrgb(103, 26, 158)
HSLhsl(275, 72%, 36%)
HSVhsv(275, 84%, 62%)
CMYKcmyk(34.8%, 83.5%, 0%, 38%)
CIE-LABlab(29.64, 55.03, -55.48)
CIE-LCHlch(29.64, 78.14, 314.76°)
OKLaboklab(41.87% 0.1124 -0.1582)
OKLCHoklch(41.87% 0.194 305.4)
XYZxyz(12.1331, 6.0911, 32.8776)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A9E #519E1A
analogous
#251A9E #671A9E #9E1A93
triadic
#671A9E #9E671A #1A9E67
tetradic
#671A9E #9E251A #519E1A #1A939E
square
#671A9E #9E251A #519E1A #1A939E
split-complementary
#671A9E #939E1A #1A9E25
monochromatic
#220935 #451169 #671A9E #8923D3 #A550E2

Accessibility & contrast

On white

9.47
#671A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#671A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A9E
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A9E#FFFFFF#000000##FFFFFF
##671A9E1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#5D3F5E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #671a9e;
/* rgb */ color: rgb(103, 26, 158);
/* oklch */ color: oklch(41.9% 0.194 305.4);
Tailwind
colors: {
  custom: {
    50: '#9862bc',
    500: '#671a9e',
    950: '#000000',
  },
}
SCSS
$custom: #671a9e;
$custom-light: #9862bc;
$custom-dark: #000000;
JSON
{
  "hex": "#671a9e",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 275,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41873,
    "c": 0.19406,
    "h": 305.4
  },
  "luminance": 0.06091
}

Semantic roles & 50–950 ramp

primary
#671A9E
secondary
#80C54F
accent
#EE3985
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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