#661C90#661C90

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

Color values

HEX#661C90
RGBrgb(102, 28, 144)
HSLhsl(278, 67%, 34%)
HSVhsv(278, 81%, 56%)
CMYKcmyk(29.2%, 80.6%, 0%, 43.5%)
CIE-LABlab(28.56, 51.05, -48.66)
CIE-LCHlch(28.56, 70.53, 316.37°)
OKLaboklab(40.73% 0.1133 -0.1382)
OKLCHoklch(40.73% 0.179 309.3)
XYZxyz(10.9278, 5.6691, 26.8987)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661C90 #46901C
analogous
#2C1C90 #661C90 #901C80
triadic
#661C90 #90661C #1C9066
tetradic
#661C90 #902C1C #46901C #1C8090
square
#661C90 #902C1C #46901C #1C8090
split-complementary
#661C90 #80901C #1C902C
monochromatic
#1D082A #42125D #661C90 #8A26C3 #A74ADC

Accessibility & contrast

On white

9.84
#661C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#661C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661C90
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661C90#FFFFFF#000000##FFFFFF
##661C901.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#603956
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661c90;
/* rgb */ color: rgb(102, 28, 144);
/* oklch */ color: oklch(40.7% 0.179 309.3);
Tailwind
colors: {
  custom: {
    50: '#9662b1',
    500: '#661c90',
    950: '#000000',
  },
}
SCSS
$custom: #661c90;
$custom-light: #9662b1;
$custom-dark: #000000;
JSON
{
  "hex": "#661c90",
  "rgb": {
    "r": 102,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 278.276,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40728,
    "c": 0.17868,
    "h": 309.3
  },
  "luminance": 0.05669
}

Semantic roles & 50–950 ramp

primary
#661C90
secondary
#74BE4A
accent
#EA3D7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #661C90

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

Preview Lab → · Contrast checker → · Palette generator →

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