#661D9F#661D9F

#661D9F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.192 H 304.4°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#661D9F
RGBrgb(102, 29, 159)
HSLhsl(274, 69%, 37%)
HSVhsv(274, 82%, 62%)
CMYKcmyk(35.8%, 81.8%, 0%, 37.6%)
CIE-LABlab(29.93, 54.08, -55.63)
CIE-LCHlch(29.93, 77.59, 314.19°)
OKLaboklab(42.07% 0.1085 -0.1587)
OKLCHoklch(42.07% 0.192 304.4)
XYZxyz(12.1754, 6.2068, 33.3508)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D9F #569F1D
analogous
#251D9F #661D9F #9F1D97
triadic
#661D9F #9F661D #1D9F66
tetradic
#661D9F #9F251D #569F1D #1D979F
square
#661D9F #9F251D #569F1D #1D979F
split-complementary
#661D9F #979F1D #1D9F25
monochromatic
#240A37 #45146B #661D9F #8726D3 #A456E0

Accessibility & contrast

On white

9.37
#661D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#661D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D9F
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D9F#FFFFFF#000000##FFFFFF
##661D9F1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#5B415F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #661d9f;
/* rgb */ color: rgb(102, 29, 159);
/* oklch */ color: oklch(42.1% 0.192 304.4);
Tailwind
colors: {
  custom: {
    50: '#9863bc',
    500: '#661d9f',
    950: '#000000',
  },
}
SCSS
$custom: #661d9f;
$custom-light: #9863bc;
$custom-dark: #000000;
JSON
{
  "hex": "#661d9f",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 273.692,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42069,
    "c": 0.19219,
    "h": 304.4
  },
  "luminance": 0.06207
}

Semantic roles & 50–950 ramp

primary
#661D9F
secondary
#85C454
accent
#EC3C89
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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