#671699#671699

#671699 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.193 H 307.3°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#671699
RGBrgb(103, 22, 153)
HSLhsl(277, 75%, 34%)
HSVhsv(277, 86%, 60%)
CMYKcmyk(32.7%, 85.6%, 0%, 40%)
CIE-LABlab(28.79, 55.15, -53.82)
CIE-LCHlch(28.79, 77.06, 315.70°)
OKLaboklab(41.15% 0.1167 -0.1532)
OKLCHoklch(41.15% 0.193 307.3)
XYZxyz(11.6290, 5.7574, 30.6295)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671699 #489916
analogous
#251699 #671699 #99168A
triadic
#671699 #996716 #169967
tetradic
#671699 #992516 #489916 #168A99
square
#671699 #992516 #489916 #168A99
split-complementary
#671699 #8A9916 #169925
monochromatic
#1F072E #430E63 #671699 #8B1ECF #A845E4

Accessibility & contrast

On white

9.76
#671699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#671699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671699
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671699#FFFFFF#000000##FFFFFF
##6716991.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#5E3B5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671699;
/* rgb */ color: rgb(103, 22, 153);
/* oklch */ color: oklch(41.2% 0.193 307.3);
Tailwind
colors: {
  custom: {
    50: '#9860b8',
    500: '#671699',
    950: '#000000',
  },
}
SCSS
$custom: #671699;
$custom-light: #9860b8;
$custom-dark: #000000;
JSON
{
  "hex": "#671699",
  "rgb": {
    "r": 103,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 277.099,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41152,
    "c": 0.19261,
    "h": 307.3
  },
  "luminance": 0.05757
}

Semantic roles & 50–950 ramp

primary
#671699
secondary
#76C546
accent
#F1367E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #671699

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

Preview Lab → · Contrast checker → · Palette generator →

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