#671F91#671F91

#671F91 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.177 H 309.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#671F91
RGBrgb(103, 31, 145)
HSLhsl(278, 65%, 35%)
HSVhsv(278, 79%, 57%)
CMYKcmyk(29%, 78.6%, 0%, 43.1%)
CIE-LABlab(29.18, 50.34, -48.27)
CIE-LCHlch(29.18, 69.74, 316.20°)
OKLaboklab(41.22% 0.1119 -0.137)
OKLCHoklch(41.22% 0.177 309.2)
XYZxyz(11.1933, 5.9081, 27.3333)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F91 #49911F
analogous
#2E1F91 #671F91 #911F82
triadic
#671F91 #91671F #1F9167
tetradic
#671F91 #912E1F #49911F #1F8291
square
#671F91 #912E1F #49911F #1F8291
split-complementary
#671F91 #82911F #1F912E
monochromatic
#1F092C #43145F #671F91 #8B2AC3 #A751DA

Accessibility & contrast

On white

9.63
#671F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#671F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F91
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F91#FFFFFF#000000##FFFFFF
##671F911.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#613B57
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #671f91;
/* rgb */ color: rgb(103, 31, 145);
/* oklch */ color: oklch(41.2% 0.177 309.2);
Tailwind
colors: {
  custom: {
    50: '#9763b2',
    500: '#671f91',
    950: '#000000',
  },
}
SCSS
$custom: #671f91;
$custom-light: #9763b2;
$custom-dark: #000000;
JSON
{
  "hex": "#671f91",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 277.895,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41218,
    "c": 0.17688,
    "h": 309.2
  },
  "luminance": 0.05908
}

Semantic roles & 50–950 ramp

primary
#671F91
secondary
#77BD4F
accent
#E8407E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671F91

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

Preview Lab → · Contrast checker → · Palette generator →

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