#661799#661799

#661799 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.1% C 0.192 H 306.7°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#661799
RGBrgb(102, 23, 153)
HSLhsl(276, 74%, 35%)
HSVhsv(276, 85%, 60%)
CMYKcmyk(33.3%, 85%, 0%, 40%)
CIE-LABlab(28.74, 54.70, -53.91)
CIE-LCHlch(28.74, 76.80, 315.42°)
OKLaboklab(41.09% 0.1146 -0.1535)
OKLCHoklch(41.09% 0.192 306.7)
XYZxyz(11.5344, 5.7376, 30.6306)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661799 #4A9917
analogous
#251799 #661799 #99178B
triadic
#661799 #996617 #179966
tetradic
#661799 #992517 #4A9917 #178B99
square
#661799 #992517 #4A9917 #178B99
split-complementary
#661799 #8B9917 #179925
monochromatic
#1F072F #430F64 #661799 #891FCE #A647E3

Accessibility & contrast

On white

9.78
#661799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661799
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661799#FFFFFF#000000##FFFFFF
##6617991.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661799;
/* rgb */ color: rgb(102, 23, 153);
/* oklch */ color: oklch(41.1% 0.192 306.7);
Tailwind
colors: {
  custom: {
    50: '#9760b8',
    500: '#661799',
    950: '#000000',
  },
}
SCSS
$custom: #661799;
$custom-light: #9760b8;
$custom-dark: #000000;
JSON
{
  "hex": "#661799",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 153
  },
  "hsl": {
    "h": 276.462,
    "s": 73.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41085,
    "c": 0.19159,
    "h": 306.7
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#661799
secondary
#78C547
accent
#F13780
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661799

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

Preview Lab → · Contrast checker → · Palette generator →

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