#671793#671793

#671793 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.7% C 0.186 H 309.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#671793
RGBrgb(103, 23, 147)
HSLhsl(279, 73%, 33%)
HSVhsv(279, 84%, 58%)
CMYKcmyk(29.9%, 84.4%, 0%, 42.4%)
CIE-LABlab(28.39, 53.55, -50.79)
CIE-LCHlch(28.39, 73.80, 316.51°)
OKLaboklab(40.72% 0.1178 -0.1443)
OKLCHoklch(40.72% 0.186 309.2)
XYZxyz(11.1653, 5.6032, 28.0914)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671793 #439317
analogous
#291793 #671793 #931781
triadic
#671793 #936717 #179367
tetradic
#671793 #932917 #439317 #178193
square
#671793 #932917 #439317 #178193
split-complementary
#671793 #819317 #179329
monochromatic
#1D0629 #420F5E #671793 #8C1FC8 #A943E2

Accessibility & contrast

On white

9.90
#671793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#671793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671793
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671793#FFFFFF#000000##FFFFFF
##6717931.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#603957
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671793;
/* rgb */ color: rgb(103, 23, 147);
/* oklch */ color: oklch(40.7% 0.186 309.2);
Tailwind
colors: {
  custom: {
    50: '#9760b4',
    500: '#671793',
    950: '#000000',
  },
}
SCSS
$custom: #671793;
$custom-light: #9760b4;
$custom-dark: #000000;
JSON
{
  "hex": "#671793",
  "rgb": {
    "r": 103,
    "g": 23,
    "b": 147
  },
  "hsl": {
    "h": 278.71,
    "s": 72.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40715,
    "c": 0.1863,
    "h": 309.2
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

primary
#671793
secondary
#71C244
accent
#F03879
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #671793

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

Preview Lab → · Contrast checker → · Palette generator →

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