#671C9B#671C9B

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

Color values

HEX#671C9B
RGBrgb(103, 28, 155)
HSLhsl(275, 69%, 36%)
HSVhsv(275, 82%, 61%)
CMYKcmyk(33.5%, 81.9%, 0%, 39.2%)
CIE-LABlab(29.62, 53.68, -53.70)
CIE-LCHlch(29.62, 75.93, 314.99°)
OKLaboklab(41.78% 0.1118 -0.1529)
OKLCHoklch(41.78% 0.189 306.2)
XYZxyz(11.9239, 6.0807, 31.5495)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C9B #509B1C
analogous
#271C9B #671C9B #9B1C8F
triadic
#671C9B #9B671C #1C9B67
tetradic
#671C9B #9B271C #509B1C #1C8F9B
square
#671C9B #9B271C #509B1C #1C8F9B
split-complementary
#671C9B #8F9B1C #1C9B27
monochromatic
#220933 #451367 #671C9B #8925CF #A652E0

Accessibility & contrast

On white

9.48
#671C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671C9B
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C9B#FFFFFF#000000##FFFFFF
##671C9B1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671c9b;
/* rgb */ color: rgb(103, 28, 155);
/* oklch */ color: oklch(41.8% 0.189 306.2);
Tailwind
colors: {
  custom: {
    50: '#9863b9',
    500: '#671c9b',
    950: '#000000',
  },
}
SCSS
$custom: #671c9b;
$custom-light: #9863b9;
$custom-dark: #000000;
JSON
{
  "hex": "#671c9b",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 155
  },
  "hsl": {
    "h": 275.433,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41776,
    "c": 0.18946,
    "h": 306.2
  },
  "luminance": 0.06081
}

Semantic roles & 50–950 ramp

primary
#671C9B
secondary
#7FC350
accent
#EC3C84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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