#661D98#661D98

#661D98 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.185 H 306.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#661D98
RGBrgb(102, 29, 152)
HSLhsl(276, 68%, 35%)
HSVhsv(276, 81%, 60%)
CMYKcmyk(32.9%, 80.9%, 0%, 40.4%)
CIE-LABlab(29.34, 52.48, -52.32)
CIE-LCHlch(29.34, 74.11, 315.09°)
OKLaboklab(41.48% 0.1104 -0.1489)
OKLCHoklch(41.48% 0.185 306.6)
XYZxyz(11.5851, 5.9706, 30.2418)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D98 #4F981D
analogous
#291D98 #661D98 #981D8C
triadic
#661D98 #98661D #1D9866
tetradic
#661D98 #98291D #4F981D #1D8C98
square
#661D98 #98291D #4F981D #1D8C98
split-complementary
#661D98 #8C981D #1D9829
monochromatic
#210931 #441365 #661D98 #8827CB #A552DE

Accessibility & contrast

On white

9.57
#661D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#661D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D98
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D98#FFFFFF#000000##FFFFFF
##661D981.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#5D3D5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #661d98;
/* rgb */ color: rgb(102, 29, 152);
/* oklch */ color: oklch(41.5% 0.185 306.6);
Tailwind
colors: {
  custom: {
    50: '#9763b7',
    500: '#661d98',
    950: '#000000',
  },
}
SCSS
$custom: #661d98;
$custom-light: #9763b7;
$custom-dark: #000000;
JSON
{
  "hex": "#661d98",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 152
  },
  "hsl": {
    "h": 275.61,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41475,
    "c": 0.18541,
    "h": 306.6
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

primary
#661D98
secondary
#7EC150
accent
#EB3D84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661D98

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

Preview Lab → · Contrast checker → · Palette generator →

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