#671899#671899

#671899 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.3% C 0.191 H 307.1°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#671899
RGBrgb(103, 24, 153)
HSLhsl(277, 73%, 35%)
HSVhsv(277, 84%, 60%)
CMYKcmyk(32.7%, 84.3%, 0%, 40%)
CIE-LABlab(29.00, 54.55, -53.48)
CIE-LCHlch(29.00, 76.39, 315.57°)
OKLaboklab(41.29% 0.1153 -0.1523)
OKLCHoklch(41.29% 0.191 307.1)
XYZxyz(11.6687, 5.8369, 30.6427)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671899 #4A9918
analogous
#261899 #671899 #99188B
triadic
#671899 #996718 #189967
tetradic
#671899 #992618 #4A9918 #188B99
square
#671899 #992618 #4A9918 #188B99
split-complementary
#671899 #8B9918 #189926
monochromatic
#20072F #431064 #671899 #8B20CE #A749E2

Accessibility & contrast

On white

9.69
#671899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#671899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671899
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671899#FFFFFF#000000##FFFFFF
##6718991.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#5E3C5B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671899;
/* rgb */ color: rgb(103, 24, 153);
/* oklch */ color: oklch(41.3% 0.191 307.1);
Tailwind
colors: {
  custom: {
    50: '#9861b8',
    500: '#671899',
    950: '#000000',
  },
}
SCSS
$custom: #671899;
$custom-light: #9861b8;
$custom-dark: #000000;
JSON
{
  "hex": "#671899",
  "rgb": {
    "r": 103,
    "g": 24,
    "b": 153
  },
  "hsl": {
    "h": 276.744,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41294,
    "c": 0.19102,
    "h": 307.1
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#671899
secondary
#79C449
accent
#F0387F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #671899

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

Preview Lab → · Contrast checker → · Palette generator →

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