#671B94#671B94

#671B94 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.184 H 308.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#671B94
RGBrgb(103, 27, 148)
HSLhsl(278, 69%, 34%)
HSVhsv(278, 82%, 58%)
CMYKcmyk(30.4%, 81.8%, 0%, 42%)
CIE-LABlab(28.92, 52.46, -50.55)
CIE-LCHlch(28.92, 72.85, 316.07°)
OKLaboklab(41.11% 0.1145 -0.1437)
OKLCHoklch(41.11% 0.184 308.6)
XYZxyz(11.3296, 5.8057, 28.5350)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B94 #48941B
analogous
#2B1B94 #671B94 #941B85
triadic
#671B94 #94671B #1B9467
tetradic
#671B94 #942B1B #48941B #1B8594
square
#671B94 #942B1B #48941B #1B8594
split-complementary
#671B94 #85941B #1B942B
monochromatic
#1F082C #431260 #671B94 #8B24C8 #A84BDE

Accessibility & contrast

On white

9.72
#671B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#671B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B94
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B94#FFFFFF#000000##FFFFFF
##671B941.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#603B58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671b94;
/* rgb */ color: rgb(103, 27, 148);
/* oklch */ color: oklch(41.1% 0.184 308.6);
Tailwind
colors: {
  custom: {
    50: '#9762b4',
    500: '#671b94',
    950: '#000000',
  },
}
SCSS
$custom: #671b94;
$custom-light: #9762b4;
$custom-dark: #000000;
JSON
{
  "hex": "#671b94",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 277.686,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41109,
    "c": 0.18372,
    "h": 308.6
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#671B94
secondary
#76C04B
accent
#EC3C7D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671B94

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

Preview Lab → · Contrast checker → · Palette generator →

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