#661993#661993

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

Color values

HEX#661993
RGBrgb(102, 25, 147)
HSLhsl(278, 71%, 34%)
HSVhsv(278, 83%, 58%)
CMYKcmyk(30.6%, 83%, 0%, 42.4%)
CIE-LABlab(28.45, 52.75, -50.69)
CIE-LCHlch(28.45, 73.16, 316.14°)
OKLaboklab(40.73% 0.1149 -0.1441)
OKLCHoklch(40.73% 0.184 308.6)
XYZxyz(11.0925, 5.6268, 28.0998)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661993 #469319
analogous
#291993 #661993 #931983
triadic
#661993 #936619 #199366
tetradic
#661993 #932919 #469319 #198393
square
#661993 #932919 #469319 #198393
split-complementary
#661993 #839319 #199329
monochromatic
#1D072A #42105F #661993 #8A22C7 #A747E0

Accessibility & contrast

On white

9.88
#661993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#661993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661993
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661993#FFFFFF#000000##FFFFFF
##6619931.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661993;
/* rgb */ color: rgb(102, 25, 147);
/* oklch */ color: oklch(40.7% 0.184 308.6);
Tailwind
colors: {
  custom: {
    50: '#9761b4',
    500: '#661993',
    950: '#000000',
  },
}
SCSS
$custom: #661993;
$custom-light: #9761b4;
$custom-dark: #000000;
JSON
{
  "hex": "#661993",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 147
  },
  "hsl": {
    "h": 277.869,
    "s": 70.93,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40727,
    "c": 0.18432,
    "h": 308.6
  },
  "luminance": 0.05627
}

Semantic roles & 50–950 ramp

primary
#661993
secondary
#74C147
accent
#EE3A7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661993

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

Preview Lab → · Contrast checker → · Palette generator →

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