#661995#661995

#661995 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.186 H 307.9°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#661995
RGBrgb(102, 25, 149)
HSLhsl(277, 71%, 34%)
HSVhsv(277, 83%, 58%)
CMYKcmyk(31.5%, 83.2%, 0%, 41.6%)
CIE-LABlab(28.62, 53.19, -51.66)
CIE-LCHlch(28.62, 74.14, 315.84°)
OKLaboklab(40.89% 0.1144 -0.1469)
OKLCHoklch(40.89% 0.186 307.9)
XYZxyz(11.2508, 5.6901, 28.9336)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661995 #489519
analogous
#281995 #661995 #951986
triadic
#661995 #956619 #199566
tetradic
#661995 #952819 #489519 #198695
square
#661995 #952819 #489519 #198695
split-complementary
#661995 #869519 #199528
monochromatic
#1E072C #421061 #661995 #8A22C9 #A748E0

Accessibility & contrast

On white

9.82
#661995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#661995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661995
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661995#FFFFFF#000000##FFFFFF
##6619951.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #661995;
/* rgb */ color: rgb(102, 25, 149);
/* oklch */ color: oklch(40.9% 0.186 307.9);
Tailwind
colors: {
  custom: {
    50: '#9761b5',
    500: '#661995',
    950: '#000000',
  },
}
SCSS
$custom: #661995;
$custom-light: #9761b5;
$custom-dark: #000000;
JSON
{
  "hex": "#661995",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 149
  },
  "hsl": {
    "h": 277.258,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40894,
    "c": 0.1862,
    "h": 307.9
  },
  "luminance": 0.0569
}

Semantic roles & 50–950 ramp

primary
#661995
secondary
#76C248
accent
#EE3A7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661995

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

Preview Lab → · Contrast checker → · Palette generator →

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