#671B93#671B93

#671B93 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.183 H 308.9°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#671B93
RGBrgb(103, 27, 147)
HSLhsl(278, 69%, 34%)
HSVhsv(278, 82%, 58%)
CMYKcmyk(29.9%, 81.6%, 0%, 42.4%)
CIE-LABlab(28.84, 52.24, -50.06)
CIE-LCHlch(28.84, 72.36, 316.22°)
OKLaboklab(41.03% 0.1148 -0.1422)
OKLCHoklch(41.03% 0.183 308.9)
XYZxyz(11.2508, 5.7742, 28.1200)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B93 #47931B
analogous
#2B1B93 #671B93 #931B83
triadic
#671B93 #93671B #1B9367
tetradic
#671B93 #932B1B #47931B #1B8393
square
#671B93 #932B1B #47931B #1B8393
split-complementary
#671B93 #83931B #1B932B
monochromatic
#1F082C #43125F #671B93 #8B24C7 #A84BDE

Accessibility & contrast

On white

9.75
#671B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671B93
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B93#FFFFFF#000000##FFFFFF
##671B931.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#603A58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671b93;
/* rgb */ color: rgb(103, 27, 147);
/* oklch */ color: oklch(41.0% 0.183 308.9);
Tailwind
colors: {
  custom: {
    50: '#9762b4',
    500: '#671b93',
    950: '#000000',
  },
}
SCSS
$custom: #671b93;
$custom-light: #9762b4;
$custom-dark: #000000;
JSON
{
  "hex": "#671b93",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 278,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41027,
    "c": 0.18277,
    "h": 308.9
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#671B93
secondary
#75C04A
accent
#EC3C7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671B93

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

Preview Lab → · Contrast checker → · Palette generator →

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