#661690#661690

#661690 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.3% C 0.184 H 309.8°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#661690
RGBrgb(102, 22, 144)
HSLhsl(279, 73%, 33%)
HSVhsv(279, 85%, 56%)
CMYKcmyk(29.2%, 84.7%, 0%, 43.5%)
CIE-LABlab(27.88, 53.04, -49.77)
CIE-LCHlch(27.88, 72.74, 316.82°)
OKLaboklab(40.25% 0.1179 -0.1414)
OKLCHoklch(40.25% 0.184 309.8)
XYZxyz(10.7994, 5.4124, 26.8560)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661690 #409016
analogous
#291690 #661690 #90167D
triadic
#661690 #906616 #169066
tetradic
#661690 #902916 #409016 #167D90
square
#661690 #902916 #409016 #167D90
split-complementary
#661690 #7D9016 #169029
monochromatic
#1B0626 #400E5B #661690 #8C1EC5 #AA3FE2

Accessibility & contrast

On white

10.08
#661690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#661690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661690
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661690#FFFFFF#000000##FFFFFF
##6616901.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#603755
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #661690;
/* rgb */ color: rgb(102, 22, 144);
/* oklch */ color: oklch(40.3% 0.184 309.8);
Tailwind
colors: {
  custom: {
    50: '#9760b1',
    500: '#661690',
    950: '#000000',
  },
}
SCSS
$custom: #661690;
$custom-light: #9760b1;
$custom-dark: #000000;
JSON
{
  "hex": "#661690",
  "rgb": {
    "r": 102,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 279.344,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40252,
    "c": 0.18411,
    "h": 309.8
  },
  "luminance": 0.05412
}

Semantic roles & 50–950 ramp

primary
#661690
secondary
#6DC240
accent
#F03877
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #661690

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

Preview Lab → · Contrast checker → · Palette generator →

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