#666274#666274

#666274 is a mid, muted violet. Relative luminance 0.128; OKLCH L 50.6% C 0.029 H 295.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#666274
RGBrgb(102, 98, 116)
HSLhsl(253, 8%, 42%)
HSVhsv(253, 16%, 45%)
CMYKcmyk(12.1%, 15.5%, 0%, 54.5%)
CIE-LABlab(42.49, 5.49, -9.54)
CIE-LCHlch(42.49, 11.01, 299.89°)
OKLaboklab(50.63% 0.0123 -0.0258)
OKLCHoklch(50.63% 0.029 295.6)
XYZxyz(12.9989, 12.8210, 18.3095)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666274 #707462
analogous
#626774 #666274 #6F6274
triadic
#666274 #746662 #627466
tetradic
#666274 #746267 #707462 #62746F
square
#666274 #746267 #707462 #62746F
split-complementary
#666274 #746F62 #677462
monochromatic
#2C2A32 #494653 #666274 #848093 #A4A1B0

Accessibility & contrast

On white

5.89
#666274 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#666274 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666274
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666274#FFFFFF#000000##FFFFFF
##6662741.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6475
Deuteranopia (green-blind)
#5F6473
Tritanopia (blue-blind)
#646568
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #666274;
/* rgb */ color: rgb(102, 98, 116);
/* oklch */ color: oklch(50.6% 0.029 295.6);
Tailwind
colors: {
  custom: {
    50: '#918e9c',
    500: '#666274',
    950: '#000000',
  },
}
SCSS
$custom: #666274;
$custom-light: #918e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#666274",
  "rgb": {
    "r": 102,
    "g": 98,
    "b": 116
  },
  "hsl": {
    "h": 253.333,
    "s": 8.411,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5063,
    "c": 0.02859,
    "h": 295.6
  },
  "luminance": 0.12821
}

Semantic roles & 50–950 ramp

primary
#666274
secondary
#9C9F93
accent
#B176A4
background
#F8F8F9
surface
#F0F0F2
border
#CBCBCC
text
#0C0C0E
muted
#7D7D7E

Preview Lab

Preview with #666274

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

Preview Lab → · Contrast checker → · Palette generator →

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