#661DA1#661DA1

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

Color values

HEX#661DA1
RGBrgb(102, 29, 161)
HSLhsl(273, 69%, 37%)
HSVhsv(273, 82%, 63%)
CMYKcmyk(36.6%, 82%, 0%, 36.9%)
CIE-LABlab(30.10, 54.54, -56.56)
CIE-LCHlch(30.10, 78.58, 313.96°)
OKLaboklab(42.24% 0.1079 -0.1614)
OKLCHoklch(42.24% 0.194 303.8)
XYZxyz(12.3504, 6.2767, 34.2722)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661DA1 #58A11D
analogous
#241DA1 #661DA1 #A11D9A
triadic
#661DA1 #A1661D #1DA166
tetradic
#661DA1 #A1241D #58A11D #1D9AA1
square
#661DA1 #A1241D #58A11D #1D9AA1
split-complementary
#661DA1 #9AA11D #1DA124
monochromatic
#240A39 #45146D #661DA1 #8726D5 #A358E1

Accessibility & contrast

On white

9.31
#661DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#661DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661DA1
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661DA1#FFFFFF#000000##FFFFFF
##661DA11.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#5A4160
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #661da1;
/* rgb */ color: rgb(102, 29, 161);
/* oklch */ color: oklch(42.2% 0.194 303.8);
Tailwind
colors: {
  custom: {
    50: '#9863be',
    500: '#661da1',
    950: '#000000',
  },
}
SCSS
$custom: #661da1;
$custom-light: #9863be;
$custom-dark: #000000;
JSON
{
  "hex": "#661da1",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 273.182,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42241,
    "c": 0.19413,
    "h": 303.8
  },
  "luminance": 0.06277
}

Semantic roles & 50–950 ramp

primary
#661DA1
secondary
#87C455
accent
#EC3C8B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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