#661895#661895

#661895 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.8% C 0.187 H 308.0°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#661895
RGBrgb(102, 24, 149)
HSLhsl(277, 72%, 34%)
HSVhsv(277, 84%, 58%)
CMYKcmyk(31.5%, 83.9%, 0%, 41.6%)
CIE-LABlab(28.51, 53.51, -51.84)
CIE-LCHlch(28.51, 74.50, 315.91°)
OKLaboklab(40.82% 0.1151 -0.1475)
OKLCHoklch(40.82% 0.187 308)
XYZxyz(11.2298, 5.6481, 28.9266)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661895 #479518
analogous
#281895 #661895 #951886
triadic
#661895 #956618 #189566
tetradic
#661895 #952818 #479518 #188695
square
#661895 #952818 #479518 #188695
split-complementary
#661895 #869518 #189528
monochromatic
#1E072C #421060 #661895 #8A20CA #A746E1

Accessibility & contrast

On white

9.86
#661895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #661895
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661895#FFFFFF#000000##FFFFFF
##6618951.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.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: #661895;
/* rgb */ color: rgb(102, 24, 149);
/* oklch */ color: oklch(40.8% 0.187 308.0);
Tailwind
colors: {
  custom: {
    50: '#9761b5',
    500: '#661895',
    950: '#000000',
  },
}
SCSS
$custom: #661895;
$custom-light: #9761b5;
$custom-dark: #000000;
JSON
{
  "hex": "#661895",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 277.44,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40818,
    "c": 0.18706,
    "h": 308
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#661895
secondary
#75C246
accent
#EF397D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661895

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

Preview Lab → · Contrast checker → · Palette generator →

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