#661699#661699

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

Color values

HEX#661699
RGBrgb(102, 22, 153)
HSLhsl(277, 75%, 34%)
HSVhsv(277, 86%, 60%)
CMYKcmyk(33.3%, 85.6%, 0%, 40%)
CIE-LABlab(28.64, 55.00, -54.07)
CIE-LCHlch(28.64, 77.13, 315.48°)
OKLaboklab(41.02% 0.1152 -0.154)
OKLCHoklch(41.02% 0.192 306.8)
XYZxyz(11.5149, 5.6986, 30.6241)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661699 #499916
analogous
#241699 #661699 #99168B
triadic
#661699 #996616 #169966
tetradic
#661699 #992416 #499916 #168B99
square
#661699 #992416 #499916 #168B99
split-complementary
#661699 #8B9916 #169924
monochromatic
#1F072E #420E63 #661699 #8A1ECF #A645E4

Accessibility & contrast

On white

9.81
#661699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#661699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661699
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661699#FFFFFF#000000##FFFFFF
##6616991.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661699;
/* rgb */ color: rgb(102, 22, 153);
/* oklch */ color: oklch(41.0% 0.192 306.8);
Tailwind
colors: {
  custom: {
    50: '#9760b8',
    500: '#661699',
    950: '#000000',
  },
}
SCSS
$custom: #661699;
$custom-light: #9760b8;
$custom-dark: #000000;
JSON
{
  "hex": "#661699",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 276.641,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41015,
    "c": 0.19237,
    "h": 306.8
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#661699
secondary
#77C546
accent
#F1367F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661699

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

Preview Lab → · Contrast checker → · Palette generator →

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