#661893#661893

#661893 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.185 H 308.6°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#661893
RGBrgb(102, 24, 147)
HSLhsl(278, 72%, 34%)
HSVhsv(278, 84%, 58%)
CMYKcmyk(30.6%, 83.7%, 0%, 42.4%)
CIE-LABlab(28.34, 53.07, -50.88)
CIE-LCHlch(28.34, 73.52, 316.21°)
OKLaboklab(40.65% 0.1156 -0.1446)
OKLCHoklch(40.65% 0.185 308.6)
XYZxyz(11.0715, 5.5848, 28.0928)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661893 #459318
analogous
#281893 #661893 #931882
triadic
#661893 #936618 #189366
tetradic
#661893 #932818 #459318 #188293
square
#661893 #932818 #459318 #188293
split-complementary
#661893 #829318 #189328
monochromatic
#1D072A #410F5E #661893 #8B21C8 #A845E1

Accessibility & contrast

On white

9.92
#661893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661893
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661893#FFFFFF#000000##FFFFFF
##6618931.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#5F3957
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661893;
/* rgb */ color: rgb(102, 24, 147);
/* oklch */ color: oklch(40.6% 0.185 308.6);
Tailwind
colors: {
  custom: {
    50: '#9760b4',
    500: '#661893',
    950: '#000000',
  },
}
SCSS
$custom: #661893;
$custom-light: #9760b4;
$custom-dark: #000000;
JSON
{
  "hex": "#661893",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 147
  },
  "hsl": {
    "h": 278.049,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4065,
    "c": 0.18519,
    "h": 308.6
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#661893
secondary
#73C245
accent
#EF397C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661893

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

Preview Lab → · Contrast checker → · Palette generator →

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