#671B92#671B92

#671B92 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.182 H 309.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#671B92
RGBrgb(103, 27, 146)
HSLhsl(278, 69%, 34%)
HSVhsv(278, 82%, 57%)
CMYKcmyk(29.5%, 81.5%, 0%, 42.7%)
CIE-LABlab(28.75, 52.02, -49.58)
CIE-LCHlch(28.75, 71.86, 316.38°)
OKLaboklab(40.95% 0.115 -0.1408)
OKLCHoklch(40.95% 0.182 309.2)
XYZxyz(11.1727, 5.7430, 27.7085)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B92 #46921B
analogous
#2B1B92 #671B92 #921B82
triadic
#671B92 #92671B #1B9267
tetradic
#671B92 #922B1B #46921B #1B8292
square
#671B92 #922B1B #46921B #1B8292
split-complementary
#671B92 #82921B #1B922B
monochromatic
#1E082B #43115E #671B92 #8B25C6 #A84ADE

Accessibility & contrast

On white

9.77
#671B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671B92
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B92#FFFFFF#000000##FFFFFF
##671B921.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#603A57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671b92;
/* rgb */ color: rgb(103, 27, 146);
/* oklch */ color: oklch(40.9% 0.182 309.2);
Tailwind
colors: {
  custom: {
    50: '#9762b3',
    500: '#671b92',
    950: '#000000',
  },
}
SCSS
$custom: #671b92;
$custom-light: #9762b3;
$custom-dark: #000000;
JSON
{
  "hex": "#671b92",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 146
  },
  "hsl": {
    "h": 278.319,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40945,
    "c": 0.18183,
    "h": 309.2
  },
  "luminance": 0.05743
}

Semantic roles & 50–950 ramp

primary
#671B92
secondary
#74BF49
accent
#EC3C7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671B92

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

Preview Lab → · Contrast checker → · Palette generator →

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