#661894#661894

#661894 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.7% C 0.186 H 308.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#661894
RGBrgb(102, 24, 148)
HSLhsl(278, 72%, 34%)
HSVhsv(278, 84%, 58%)
CMYKcmyk(31.1%, 83.8%, 0%, 42%)
CIE-LABlab(28.42, 53.29, -51.36)
CIE-LCHlch(28.42, 74.01, 316.06°)
OKLaboklab(40.73% 0.1154 -0.1461)
OKLCHoklch(40.73% 0.186 308.3)
XYZxyz(11.1503, 5.6164, 28.5079)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661894 #469418
analogous
#281894 #661894 #941884
triadic
#661894 #946618 #189466
tetradic
#661894 #942818 #469418 #188494
square
#661894 #942818 #469418 #188494
split-complementary
#661894 #849418 #189428
monochromatic
#1D072B #420F5F #661894 #8A21C9 #A745E1

Accessibility & contrast

On white

9.89
#661894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#661894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661894
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661894#FFFFFF#000000##FFFFFF
##6618941.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#5E3A58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661894;
/* rgb */ color: rgb(102, 24, 148);
/* oklch */ color: oklch(40.7% 0.186 308.3);
Tailwind
colors: {
  custom: {
    50: '#9761b4',
    500: '#661894',
    950: '#000000',
  },
}
SCSS
$custom: #661894;
$custom-light: #9761b4;
$custom-dark: #000000;
JSON
{
  "hex": "#661894",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 148
  },
  "hsl": {
    "h": 277.742,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40734,
    "c": 0.18612,
    "h": 308.3
  },
  "luminance": 0.05616
}

Semantic roles & 50–950 ramp

primary
#661894
secondary
#74C246
accent
#EF397C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661894

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

Preview Lab → · Contrast checker → · Palette generator →

#661894 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva