#661DA0#661DA0

#661DA0 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.2% C 0.193 H 304.1°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#661DA0
RGBrgb(102, 29, 160)
HSLhsl(273, 69%, 37%)
HSVhsv(273, 82%, 63%)
CMYKcmyk(36.2%, 81.9%, 0%, 37.3%)
CIE-LABlab(30.01, 54.31, -56.10)
CIE-LCHlch(30.01, 78.08, 314.07°)
OKLaboklab(42.16% 0.1082 -0.16)
OKLCHoklch(42.16% 0.193 304.1)
XYZxyz(12.2625, 6.2416, 33.8096)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661DA0 #57A01D
analogous
#251DA0 #661DA0 #A01D99
triadic
#661DA0 #A0661D #1DA066
tetradic
#661DA0 #A0251D #57A01D #1D99A0
square
#661DA0 #A0251D #57A01D #1D99A0
split-complementary
#661DA0 #99A01D #1DA025
monochromatic
#240A38 #45146C #661DA0 #8726D4 #A457E1

Accessibility & contrast

On white

9.34
#661DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661DA0
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661DA0#FFFFFF#000000##FFFFFF
##661DA01.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661da0;
/* rgb */ color: rgb(102, 29, 160);
/* oklch */ color: oklch(42.2% 0.193 304.1);
Tailwind
colors: {
  custom: {
    50: '#9863bd',
    500: '#661da0',
    950: '#000000',
  },
}
SCSS
$custom: #661da0;
$custom-light: #9863bd;
$custom-dark: #000000;
JSON
{
  "hex": "#661da0",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 273.435,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42155,
    "c": 0.19316,
    "h": 304.1
  },
  "luminance": 0.06242
}

Semantic roles & 50–950 ramp

primary
#661DA0
secondary
#86C455
accent
#EC3C8A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #661DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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