#661A8F#661A8F

#661A8F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.5% C 0.180 H 309.9°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#661A8F
RGBrgb(102, 26, 143)
HSLhsl(279, 69%, 33%)
HSVhsv(279, 82%, 56%)
CMYKcmyk(28.7%, 81.8%, 0%, 43.9%)
CIE-LABlab(28.24, 51.53, -48.57)
CIE-LCHlch(28.24, 70.81, 316.70°)
OKLaboklab(40.48% 0.1152 -0.1379)
OKLCHoklch(40.48% 0.18 309.9)
XYZxyz(10.8058, 5.5470, 26.4827)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#661A8F #438F1A
analogous
#2B1A8F #661A8F #8F1A7D
triadic
#661A8F #8F661A #1A8F66
tetradic
#661A8F #8F2B1A #438F1A #1A7D8F
square
#661A8F #8F2B1A #438F1A #1A7D8F
split-complementary
#661A8F #7D8F1A #1A8F2B
monochromatic
#1C0727 #41115B #661A8F #8B23C3 #A846DD

Accessibility & contrast

On white

9.96
#661A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#661A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #661A8F
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##661A8F#FFFFFF#000000##FFFFFF
##661A8F1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#603855
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #661a8f;
/* rgb */ color: rgb(102, 26, 143);
/* oklch */ color: oklch(40.5% 0.180 309.9);
Tailwind
colors: {
  custom: {
    50: '#9661b1',
    500: '#661a8f',
    950: '#000000',
  },
}
SCSS
$custom: #661a8f;
$custom-light: #9661b1;
$custom-dark: #000000;
JSON
{
  "hex": "#661a8f",
  "rgb": {
    "r": 102,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 278.974,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40478,
    "c": 0.17965,
    "h": 309.9
  },
  "luminance": 0.05547
}

Semantic roles & 50–950 ramp

primary
#661A8F
secondary
#70BF46
accent
#EC3C7A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #661A8F

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

Preview Lab → · Contrast checker → · Palette generator →

#661A8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva