#661899#661899

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

Color values

HEX#661899
RGBrgb(102, 24, 153)
HSLhsl(276, 73%, 35%)
HSVhsv(276, 84%, 60%)
CMYKcmyk(33.3%, 84.3%, 0%, 40%)
CIE-LABlab(28.85, 54.39, -53.74)
CIE-LCHlch(28.85, 76.46, 315.35°)
OKLaboklab(41.16% 0.1139 -0.1531)
OKLCHoklch(41.16% 0.191 306.7)
XYZxyz(11.5546, 5.7781, 30.6374)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661899 #4B9918
analogous
#261899 #661899 #99188C
triadic
#661899 #996618 #189966
tetradic
#661899 #992618 #4B9918 #188C99
square
#661899 #992618 #4B9918 #188C99
split-complementary
#661899 #8C9918 #189926
monochromatic
#1F072F #431064 #661899 #8920CE #A649E2

Accessibility & contrast

On white

9.74
#661899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#661899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661899
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661899#FFFFFF#000000##FFFFFF
##6618991.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661899;
/* rgb */ color: rgb(102, 24, 153);
/* oklch */ color: oklch(41.2% 0.191 306.7);
Tailwind
colors: {
  custom: {
    50: '#9761b8',
    500: '#661899',
    950: '#000000',
  },
}
SCSS
$custom: #661899;
$custom-light: #9761b8;
$custom-dark: #000000;
JSON
{
  "hex": "#661899",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 153
  },
  "hsl": {
    "h": 276.279,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41158,
    "c": 0.19078,
    "h": 306.7
  },
  "luminance": 0.05778
}

Semantic roles & 50–950 ramp

primary
#661899
secondary
#7AC449
accent
#F03881
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661899

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

Preview Lab → · Contrast checker → · Palette generator →

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