#661E9F#661E9F

#661E9F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.191 H 304.3°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#661E9F
RGBrgb(102, 30, 159)
HSLhsl(273, 68%, 37%)
HSVhsv(273, 81%, 62%)
CMYKcmyk(35.8%, 81.1%, 0%, 37.6%)
CIE-LABlab(30.05, 53.73, -55.43)
CIE-LCHlch(30.05, 77.19, 314.11°)
OKLaboklab(42.15% 0.1077 -0.1581)
OKLCHoklch(42.15% 0.191 304.3)
XYZxyz(12.2003, 6.2566, 33.3591)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661E9F #579F1E
analogous
#251E9F #661E9F #9F1E98
triadic
#661E9F #9F661E #1E9F66
tetradic
#661E9F #9F251E #579F1E #1E989F
square
#661E9F #9F251E #579F1E #1E989F
split-complementary
#661E9F #989F1E #1E9F25
monochromatic
#240B38 #45146C #661E9F #8728D2 #A458DF

Accessibility & contrast

On white

9.33
#661E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#661E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661E9F
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661E9F#FFFFFF#000000##FFFFFF
##661E9F1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661e9f;
/* rgb */ color: rgb(102, 30, 159);
/* oklch */ color: oklch(42.2% 0.191 304.3);
Tailwind
colors: {
  custom: {
    50: '#9764bc',
    500: '#661e9f',
    950: '#000000',
  },
}
SCSS
$custom: #661e9f;
$custom-light: #9764bc;
$custom-dark: #000000;
JSON
{
  "hex": "#661e9f",
  "rgb": {
    "r": 102,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 273.488,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42154,
    "c": 0.19129,
    "h": 304.3
  },
  "luminance": 0.06257
}

Semantic roles & 50–950 ramp

primary
#661E9F
secondary
#86C356
accent
#EB3D8A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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