#671C91#671C91

#671C91 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.180 H 309.5°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#671C91
RGBrgb(103, 28, 145)
HSLhsl(278, 68%, 34%)
HSVhsv(278, 81%, 57%)
CMYKcmyk(29%, 80.7%, 0%, 43.1%)
CIE-LABlab(28.80, 51.45, -48.89)
CIE-LCHlch(28.80, 70.98, 316.46°)
OKLaboklab(40.95% 0.1145 -0.1388)
OKLCHoklch(40.95% 0.18 309.5)
XYZxyz(11.1186, 5.7586, 27.3084)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C91 #46911C
analogous
#2D1C91 #671C91 #911C81
triadic
#671C91 #91671C #1C9167
tetradic
#671C91 #912D1C #46911C #1C8191
square
#671C91 #912D1C #46911C #1C8191
split-complementary
#671C91 #81911C #1C912D
monochromatic
#1E082A #43125E #671C91 #8B26C4 #A84BDC

Accessibility & contrast

On white

9.76
#671C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#671C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671C91
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C91#FFFFFF#000000##FFFFFF
##671C911.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#613A57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671c91;
/* rgb */ color: rgb(103, 28, 145);
/* oklch */ color: oklch(40.9% 0.180 309.5);
Tailwind
colors: {
  custom: {
    50: '#9762b2',
    500: '#671c91',
    950: '#000000',
  },
}
SCSS
$custom: #671c91;
$custom-light: #9762b2;
$custom-dark: #000000;
JSON
{
  "hex": "#671c91",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 278.462,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40948,
    "c": 0.17992,
    "h": 309.5
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#671C91
secondary
#74BE4A
accent
#EB3D7B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671C91

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

Preview Lab → · Contrast checker → · Palette generator →

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