#661D90#661D90

#661D90 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.178 H 309.3°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#661D90
RGBrgb(102, 29, 144)
HSLhsl(278, 66%, 34%)
HSVhsv(278, 80%, 56%)
CMYKcmyk(29.2%, 79.9%, 0%, 43.5%)
CIE-LABlab(28.69, 50.69, -48.46)
CIE-LCHlch(28.69, 70.12, 316.29°)
OKLaboklab(40.82% 0.1124 -0.1376)
OKLCHoklch(40.82% 0.178 309.3)
XYZxyz(10.9519, 5.7173, 26.9068)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661D90 #47901D
analogous
#2D1D90 #661D90 #901D81
triadic
#661D90 #90661D #1D9066
tetradic
#661D90 #902D1D #47901D #1D8190
square
#661D90 #902D1D #47901D #1D8190
split-complementary
#661D90 #81901D #1D902D
monochromatic
#1E082A #42135D #661D90 #8A27C3 #A74CDB

Accessibility & contrast

On white

9.80
#661D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#661D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661D90
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661D90#FFFFFF#000000##FFFFFF
##661D901.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#603A56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #661d90;
/* rgb */ color: rgb(102, 29, 144);
/* oklch */ color: oklch(40.8% 0.178 309.3);
Tailwind
colors: {
  custom: {
    50: '#9662b1',
    500: '#661d90',
    950: '#000000',
  },
}
SCSS
$custom: #661d90;
$custom-light: #9662b1;
$custom-dark: #000000;
JSON
{
  "hex": "#661d90",
  "rgb": {
    "r": 102,
    "g": 29,
    "b": 144
  },
  "hsl": {
    "h": 278.087,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40817,
    "c": 0.17768,
    "h": 309.3
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#661D90
secondary
#75BD4B
accent
#E93E7D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661D90

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

Preview Lab → · Contrast checker → · Palette generator →

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