#66407C#66407C

#66407C is a dark, moderate violet. Relative luminance 0.079; OKLCH L 44.2% C 0.104 H 312.0°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#66407C
RGBrgb(102, 64, 124)
HSLhsl(278, 32%, 37%)
HSVhsv(278, 48%, 49%)
CMYKcmyk(17.7%, 48.4%, 0%, 51.4%)
CIE-LABlab(33.87, 28.33, -27.74)
CIE-LCHlch(33.87, 39.65, 315.60°)
OKLaboklab(44.16% 0.0695 -0.0772)
OKLCHoklch(44.16% 0.104 312)
XYZxyz(10.9503, 7.9470, 20.0220)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66407C #567C40
analogous
#48407C #66407C #7C4074
triadic
#66407C #7C6640 #407C66
tetradic
#66407C #7C4840 #567C40 #40747C
square
#66407C #7C4840 #567C40 #40747C
split-complementary
#66407C #747C40 #407C48
monochromatic
#24162B #452B54 #66407C #8755A4 #A47BBB

Accessibility & contrast

On white

8.11
#66407C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#66407C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66407C
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66407C#FFFFFF#000000##FFFFFF
##66407C1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7E
Deuteranopia (green-blind)
#3D517A
Tritanopia (blue-blind)
#644958
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #66407c;
/* rgb */ color: rgb(102, 64, 124);
/* oklch */ color: oklch(44.2% 0.104 312.0);
Tailwind
colors: {
  custom: {
    50: '#9376a2',
    500: '#66407c',
    950: '#000000',
  },
}
SCSS
$custom: #66407c;
$custom-light: #9376a2;
$custom-dark: #000000;
JSON
{
  "hex": "#66407c",
  "rgb": {
    "r": 102,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 278,
    "s": 31.915,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44158,
    "c": 0.10387,
    "h": 312
  },
  "luminance": 0.07947
}

Semantic roles & 50–950 ramp

primary
#66407C
secondary
#85A672
accent
#C86086
background
#F9F7FA
surface
#F1EDF3
border
#CBC8CD
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #66407C

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

Preview Lab → · Contrast checker → · Palette generator →

#66407C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva