#671D9B#671D9B

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

Color values

HEX#671D9B
RGBrgb(103, 29, 155)
HSLhsl(275, 68%, 36%)
HSVhsv(275, 81%, 61%)
CMYKcmyk(33.5%, 81.3%, 0%, 39.2%)
CIE-LABlab(29.74, 53.33, -53.50)
CIE-LCHlch(29.74, 75.54, 314.91°)
OKLaboklab(41.86% 0.1111 -0.1524)
OKLCHoklch(41.86% 0.189 306.1)
XYZxyz(11.9480, 6.1290, 31.5576)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D9B #519B1D
analogous
#281D9B #671D9B #9B1D90
triadic
#671D9B #9B671D #1D9B67
tetradic
#671D9B #9B281D #519B1D #1D909B
square
#671D9B #9B281D #519B1D #1D909B
split-complementary
#671D9B #909B1D #1D9B28
monochromatic
#220A34 #451367 #671D9B #8927CF #A553DF

Accessibility & contrast

On white

9.43
#671D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671D9B
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671D9B#FFFFFF#000000##FFFFFF
##671D9B1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#5E3F5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #671d9b;
/* rgb */ color: rgb(103, 29, 155);
/* oklch */ color: oklch(41.9% 0.189 306.1);
Tailwind
colors: {
  custom: {
    50: '#9863b9',
    500: '#671d9b',
    950: '#000000',
  },
}
SCSS
$custom: #671d9b;
$custom-light: #9863b9;
$custom-dark: #000000;
JSON
{
  "hex": "#671d9b",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 155
  },
  "hsl": {
    "h": 275.238,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4186,
    "c": 0.18856,
    "h": 306.1
  },
  "luminance": 0.06129
}

Semantic roles & 50–950 ramp

primary
#671D9B
secondary
#80C252
accent
#EB3C85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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