#665199#665199

#665199 is a mid, moderate violet. Relative luminance 0.110; OKLCH L 49.0% C 0.113 H 295.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#665199
RGBrgb(102, 81, 153)
HSLhsl(258, 31%, 46%)
HSVhsv(258, 47%, 60%)
CMYKcmyk(33.3%, 47.1%, 0%, 40%)
CIE-LABlab(39.60, 25.49, -36.43)
CIE-LCHlch(39.60, 44.46, 304.97°)
OKLaboklab(48.96% 0.0485 -0.1025)
OKLCHoklch(48.96% 0.113 295.3)
XYZxyz(14.1703, 11.0093, 31.5093)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665199 #849951
analogous
#516099 #665199 #8A5199
triadic
#665199 #996651 #519966
tetradic
#665199 #995160 #849951 #51998A
square
#665199 #995160 #849951 #51998A
split-complementary
#665199 #998A51 #609951
monochromatic
#312749 #4B3C71 #665199 #8673B5 #A89BCA

Accessibility & contrast

On white

6.56
#665199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#665199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665199
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665199#FFFFFF#000000##FFFFFF
##6651991.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395E9C
Deuteranopia (green-blind)
#3D5C97
Tritanopia (blue-blind)
#5B5F6D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #665199;
/* rgb */ color: rgb(102, 81, 153);
/* oklch */ color: oklch(49.0% 0.113 295.3);
Tailwind
colors: {
  custom: {
    50: '#9482b7',
    500: '#665199',
    950: '#000000',
  },
}
SCSS
$custom: #665199;
$custom-light: #9482b7;
$custom-dark: #000000;
JSON
{
  "hex": "#665199",
  "rgb": {
    "r": 102,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 257.5,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48959,
    "c": 0.11341,
    "h": 295.3
  },
  "luminance": 0.1101
}

Semantic roles & 50–950 ramp

primary
#665199
secondary
#ABB78F
accent
#C761A9
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #665199

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

Preview Lab → · Contrast checker → · Palette generator →

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