#665481#665481

#665481 is a mid, moderate violet. Relative luminance 0.107; OKLCH L 48.2% C 0.074 H 302.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#665481
RGBrgb(102, 84, 129)
HSLhsl(264, 21%, 42%)
HSVhsv(264, 35%, 51%)
CMYKcmyk(20.9%, 34.9%, 0%, 49.4%)
CIE-LABlab(39.16, 17.28, -22.57)
CIE-LCHlch(39.16, 28.43, 307.43°)
OKLaboklab(48.23% 0.0391 -0.0624)
OKLCHoklch(48.23% 0.074 302.1)
XYZxyz(12.6114, 10.7504, 22.1753)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665481 #6F8154
analogous
#545981 #665481 #7D5481
triadic
#665481 #816654 #548166
tetradic
#665481 #815459 #6F8154 #54817D
square
#665481 #815459 #6F8154 #54817D
split-complementary
#665481 #817D54 #598154
monochromatic
#2B2437 #493C5C #665481 #8470A2 #A495BA

Accessibility & contrast

On white

6.67
#665481 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#665481 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665481
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665481#FFFFFF#000000##FFFFFF
##6654811.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5C83
Deuteranopia (green-blind)
#4D5C80
Tritanopia (blue-blind)
#615B64
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #665481;
/* rgb */ color: rgb(102, 84, 129);
/* oklch */ color: oklch(48.2% 0.074 302.1);
Tailwind
colors: {
  custom: {
    50: '#9284a5',
    500: '#665481',
    950: '#000000',
  },
}
SCSS
$custom: #665481;
$custom-light: #9284a5;
$custom-dark: #000000;
JSON
{
  "hex": "#665481",
  "rgb": {
    "r": 102,
    "g": 84,
    "b": 129
  },
  "hsl": {
    "h": 264,
    "s": 21.127,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48229,
    "c": 0.07363,
    "h": 302.1
  },
  "luminance": 0.1075
}

Semantic roles & 50–950 ramp

primary
#665481
secondary
#9BA889
accent
#BE6A9C
background
#F9F8FA
surface
#F1EFF4
border
#CBCACE
text
#0D0B0F
muted
#7E7C7F

Preview Lab

Preview with #665481

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

Preview Lab → · Contrast checker → · Palette generator →

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