#671794#671794

#671794 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.8% C 0.187 H 308.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#671794
RGBrgb(103, 23, 148)
HSLhsl(278, 73%, 34%)
HSVhsv(278, 84%, 58%)
CMYKcmyk(30.4%, 84.5%, 0%, 42%)
CIE-LABlab(28.47, 53.76, -51.27)
CIE-LCHlch(28.47, 74.29, 316.36°)
OKLaboklab(40.8% 0.1175 -0.1458)
OKLCHoklch(40.8% 0.187 308.9)
XYZxyz(11.2441, 5.6347, 28.5065)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671794 #449417
analogous
#281794 #671794 #941782
triadic
#671794 #946717 #179467
tetradic
#671794 #942817 #449417 #178294
square
#671794 #942817 #449417 #178294
split-complementary
#671794 #829417 #179428
monochromatic
#1D072A #420F5F #671794 #8C1FC9 #A944E2

Accessibility & contrast

On white

9.87
#671794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#671794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671794
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671794#FFFFFF#000000##FFFFFF
##6717941.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#603958
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671794;
/* rgb */ color: rgb(103, 23, 148);
/* oklch */ color: oklch(40.8% 0.187 308.9);
Tailwind
colors: {
  custom: {
    50: '#9860b4',
    500: '#671794',
    950: '#000000',
  },
}
SCSS
$custom: #671794;
$custom-light: #9860b4;
$custom-dark: #000000;
JSON
{
  "hex": "#671794",
  "rgb": {
    "r": 103,
    "g": 23,
    "b": 148
  },
  "hsl": {
    "h": 278.4,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40799,
    "c": 0.18723,
    "h": 308.9
  },
  "luminance": 0.05634
}

Semantic roles & 50–950 ramp

primary
#671794
secondary
#72C344
accent
#F0387A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #671794

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

Preview Lab → · Contrast checker → · Palette generator →

#671794 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva