#664284#664284

#664284 is a dark, moderate violet. Relative luminance 0.084; OKLCH L 45.0% C 0.111 H 307.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#664284
RGBrgb(102, 66, 132)
HSLhsl(273, 33%, 39%)
HSVhsv(273, 50%, 52%)
CMYKcmyk(22.7%, 50%, 0%, 48.2%)
CIE-LABlab(34.78, 29.09, -31.28)
CIE-LCHlch(34.78, 42.71, 312.92°)
OKLaboklab(44.97% 0.0676 -0.0874)
OKLCHoklch(44.97% 0.111 307.7)
XYZxyz(11.5917, 8.3873, 22.8336)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664284 #608442
analogous
#454284 #664284 #844281
triadic
#664284 #846642 #428466
tetradic
#664284 #844542 #608442 #428184
square
#664284 #844542 #608442 #428184
split-complementary
#664284 #818442 #428445
monochromatic
#271932 #462E5B #664284 #8558AB #A381C0

Accessibility & contrast

On white

7.84
#664284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#664284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #664284
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664284#FFFFFF#000000##FFFFFF
##6642841.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315086
Deuteranopia (green-blind)
#3B5282
Tritanopia (blue-blind)
#624D5D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #664284;
/* rgb */ color: rgb(102, 66, 132);
/* oklch */ color: oklch(45.0% 0.111 307.7);
Tailwind
colors: {
  custom: {
    50: '#9377a8',
    500: '#664284',
    950: '#000000',
  },
}
SCSS
$custom: #664284;
$custom-light: #9377a8;
$custom-dark: #000000;
JSON
{
  "hex": "#664284",
  "rgb": {
    "r": 102,
    "g": 66,
    "b": 132
  },
  "hsl": {
    "h": 272.727,
    "s": 33.333,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44973,
    "c": 0.11054,
    "h": 307.7
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#664284
secondary
#8FAB77
accent
#C95E8F
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D090F
muted
#7E7B7F

Preview Lab

Preview with #664284

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

Preview Lab → · Contrast checker → · Palette generator →

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