#661C8E#661C8E

#661C8E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.177 H 310.1°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#661C8E
RGBrgb(102, 28, 142)
HSLhsl(279, 67%, 33%)
HSVhsv(279, 80%, 56%)
CMYKcmyk(28.2%, 80.3%, 0%, 44.3%)
CIE-LABlab(28.40, 50.61, -47.68)
CIE-LCHlch(28.40, 69.53, 316.70°)
OKLaboklab(40.57% 0.1138 -0.1353)
OKLCHoklch(40.57% 0.177 310.1)
XYZxyz(10.7763, 5.6085, 26.1008)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C8E #448E1C
analogous
#2D1C8E #661C8E #8E1C7D
triadic
#661C8E #8E661C #1C8E66
tetradic
#661C8E #8E2D1C #448E1C #1C7D8E
square
#661C8E #8E2D1C #448E1C #1C7D8E
split-complementary
#661C8E #7D8E1C #1C8E2D
monochromatic
#1D0828 #41125B #661C8E #8B26C1 #A849DB

Accessibility & contrast

On white

9.90
#661C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#661C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C8E
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C8E#FFFFFF#000000##FFFFFF
##661C8E1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#603955
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661c8e;
/* rgb */ color: rgb(102, 28, 142);
/* oklch */ color: oklch(40.6% 0.177 310.1);
Tailwind
colors: {
  custom: {
    50: '#9662b0',
    500: '#661c8e',
    950: '#000000',
  },
}
SCSS
$custom: #661c8e;
$custom-light: #9662b0;
$custom-dark: #000000;
JSON
{
  "hex": "#661c8e",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 278.947,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40567,
    "c": 0.17677,
    "h": 310.1
  },
  "luminance": 0.05608
}

Semantic roles & 50–950 ramp

primary
#661C8E
secondary
#72BD49
accent
#EA3E7A
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #661C8E

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

Preview Lab → · Contrast checker → · Palette generator →

#661C8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva