#66279C#66279C

#66279C is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.179 H 304.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#66279C
RGBrgb(102, 39, 156)
HSLhsl(272, 60%, 38%)
HSVhsv(272, 75%, 61%)
CMYKcmyk(34.6%, 75%, 0%, 38.8%)
CIE-LABlab(31.06, 49.41, -51.96)
CIE-LCHlch(31.06, 71.71, 313.56°)
OKLaboklab(42.78% 0.1006 -0.148)
OKLCHoklch(42.78% 0.179 304.2)
XYZxyz(12.2044, 6.6762, 32.0917)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66279C #5D9C27
analogous
#2C279C #66279C #9C2797
triadic
#66279C #9C6627 #279C66
tetradic
#66279C #9C2C27 #5D9C27 #27979C
square
#66279C #9C2C27 #5D9C27 #27979C
split-complementary
#66279C #979C27 #279C2C
monochromatic
#260F3A #461B6B #66279C #8634CC #A365D8

Accessibility & contrast

On white

8.99
#66279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#66279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66279C
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66279C#FFFFFF#000000##FFFFFF
##66279C1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#5C445F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #66279c;
/* rgb */ color: rgb(102, 39, 156);
/* oklch */ color: oklch(42.8% 0.179 304.2);
Tailwind
colors: {
  custom: {
    50: '#9768ba',
    500: '#66279c',
    950: '#000000',
  },
}
SCSS
$custom: #66279c;
$custom-light: #9768ba;
$custom-dark: #000000;
JSON
{
  "hex": "#66279c",
  "rgb": {
    "r": 102,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 272.308,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42783,
    "c": 0.17892,
    "h": 304.2
  },
  "luminance": 0.06676
}

Semantic roles & 50–950 ramp

primary
#66279C
secondary
#8CBE61
accent
#E3458E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #66279C

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

Preview Lab → · Contrast checker → · Palette generator →

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