#671A9D#671A9D

#671A9D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.193 H 305.7°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#671A9D
RGBrgb(103, 26, 157)
HSLhsl(275, 72%, 36%)
HSVhsv(275, 83%, 62%)
CMYKcmyk(34.4%, 83.4%, 0%, 38.4%)
CIE-LABlab(29.56, 54.80, -55.02)
CIE-LCHlch(29.56, 77.65, 314.89°)
OKLaboklab(41.79% 0.1127 -0.1568)
OKLCHoklch(41.79% 0.193 305.7)
XYZxyz(12.0473, 6.0568, 32.4262)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A9D #509D1A
analogous
#251A9D #671A9D #9D1A91
triadic
#671A9D #9D671A #1A9D67
tetradic
#671A9D #9D251A #509D1A #1A919D
square
#671A9D #9D251A #509D1A #1A919D
split-complementary
#671A9D #919D1A #1A9D25
monochromatic
#220934 #451168 #671A9D #8923D2 #A64FE2

Accessibility & contrast

On white

9.50
#671A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#671A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A9D
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A9D#FFFFFF#000000##FFFFFF
##671A9D1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#5D3E5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #671a9d;
/* rgb */ color: rgb(103, 26, 157);
/* oklch */ color: oklch(41.8% 0.193 305.7);
Tailwind
colors: {
  custom: {
    50: '#9862bb',
    500: '#671a9d',
    950: '#000000',
  },
}
SCSS
$custom: #671a9d;
$custom-light: #9862bb;
$custom-dark: #000000;
JSON
{
  "hex": "#671a9d",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 157
  },
  "hsl": {
    "h": 275.267,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41787,
    "c": 0.19311,
    "h": 305.7
  },
  "luminance": 0.06057
}

Semantic roles & 50–950 ramp

primary
#671A9D
secondary
#7FC44E
accent
#EE3984
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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