#666278#666278

#666278 is a mid, muted violet. Relative luminance 0.129; OKLCH L 50.8% C 0.035 H 293.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#666278
RGBrgb(102, 98, 120)
HSLhsl(251, 10%, 43%)
HSVhsv(251, 18%, 47%)
CMYKcmyk(15%, 18.3%, 0%, 52.9%)
CIE-LABlab(42.64, 6.42, -11.75)
CIE-LCHlch(42.64, 13.40, 298.66°)
OKLaboklab(50.79% 0.0139 -0.0319)
OKLCHoklch(50.79% 0.035 293.5)
XYZxyz(13.2366, 12.9161, 19.5614)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666278 #747862
analogous
#626978 #666278 #716278
triadic
#666278 #786662 #627866
tetradic
#666278 #786269 #747862 #627871
square
#666278 #786269 #747862 #627871
split-complementary
#666278 #787162 #697862
monochromatic
#2D2B35 #494656 #666278 #848097 #A5A2B3

Accessibility & contrast

On white

5.86
#666278 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#666278 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666278
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666278#FFFFFF#000000##FFFFFF
##6662781.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6579
Deuteranopia (green-blind)
#5E6477
Tritanopia (blue-blind)
#636569
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #666278;
/* rgb */ color: rgb(102, 98, 120);
/* oklch */ color: oklch(50.8% 0.035 293.5);
Tailwind
colors: {
  custom: {
    50: '#918e9f',
    500: '#666278',
    950: '#000000',
  },
}
SCSS
$custom: #666278;
$custom-light: #918e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#666278",
  "rgb": {
    "r": 102,
    "g": 98,
    "b": 120
  },
  "hsl": {
    "h": 250.909,
    "s": 10.092,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5079,
    "c": 0.0348,
    "h": 293.5
  },
  "luminance": 0.12916
}

Semantic roles & 50–950 ramp

primary
#666278
secondary
#9FA294
accent
#B375A8
background
#F8F8F9
surface
#F0F0F2
border
#CBCBCC
text
#0D0C0E
muted
#7D7D7E

Preview Lab

Preview with #666278

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

Preview Lab → · Contrast checker → · Palette generator →

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