#661C95#661C95

#661C95 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.183 H 307.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#661C95
RGBrgb(102, 28, 149)
HSLhsl(277, 68%, 35%)
HSVhsv(277, 81%, 58%)
CMYKcmyk(31.5%, 81.2%, 0%, 41.6%)
CIE-LABlab(28.97, 52.16, -51.08)
CIE-LCHlch(28.97, 73.01, 315.60°)
OKLaboklab(41.14% 0.112 -0.1453)
OKLCHoklch(41.14% 0.183 307.6)
XYZxyz(11.3184, 5.8254, 28.9561)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C95 #4B951C
analogous
#291C95 #661C95 #951C88
triadic
#661C95 #95661C #1C9566
tetradic
#661C95 #95291C #4B951C #1C8895
square
#661C95 #95291C #4B951C #1C8895
split-complementary
#661C95 #88951C #1C9529
monochromatic
#1F092E #431261 #661C95 #8926C9 #A64EDE

Accessibility & contrast

On white

9.70
#661C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#661C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C95
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C95#FFFFFF#000000##FFFFFF
##661C951.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#5E3C59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #661c95;
/* rgb */ color: rgb(102, 28, 149);
/* oklch */ color: oklch(41.1% 0.183 307.6);
Tailwind
colors: {
  custom: {
    50: '#9762b5',
    500: '#661c95',
    950: '#000000',
  },
}
SCSS
$custom: #661c95;
$custom-light: #9762b5;
$custom-dark: #000000;
JSON
{
  "hex": "#661c95",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 276.694,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41139,
    "c": 0.18347,
    "h": 307.6
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#661C95
secondary
#7AC04D
accent
#EB3D80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661C95

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

Preview Lab → · Contrast checker → · Palette generator →

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