#665299#665299

#665299 is a mid, moderate violet. Relative luminance 0.112; OKLCH L 49.1% C 0.112 H 294.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#665299
RGBrgb(102, 82, 153)
HSLhsl(257, 30%, 46%)
HSVhsv(257, 46%, 60%)
CMYKcmyk(33.3%, 46.4%, 0%, 40%)
CIE-LABlab(39.85, 24.87, -36.04)
CIE-LCHlch(39.85, 43.78, 304.61°)
OKLaboklab(49.15% 0.0471 -0.1013)
OKLCHoklch(49.15% 0.112 294.9)
XYZxyz(14.2451, 11.1590, 31.5342)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665299 #859952
analogous
#526199 #665299 #895299
triadic
#665299 #996652 #529966
tetradic
#665299 #995261 #859952 #529989
square
#665299 #995261 #859952 #529989
split-complementary
#665299 #998952 #619952
monochromatic
#312749 #4B3D71 #665299 #8674B4 #A99CCA

Accessibility & contrast

On white

6.50
#665299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#665299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665299
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665299#FFFFFF#000000##FFFFFF
##6652991.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9C
Deuteranopia (green-blind)
#3E5D97
Tritanopia (blue-blind)
#5A5F6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #665299;
/* rgb */ color: rgb(102, 82, 153);
/* oklch */ color: oklch(49.1% 0.112 294.9);
Tailwind
colors: {
  custom: {
    50: '#9483b7',
    500: '#665299',
    950: '#000000',
  },
}
SCSS
$custom: #665299;
$custom-light: #9483b7;
$custom-dark: #000000;
JSON
{
  "hex": "#665299",
  "rgb": {
    "r": 102,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 256.901,
    "s": 30.213,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49147,
    "c": 0.11176,
    "h": 294.9
  },
  "luminance": 0.11159
}

Semantic roles & 50–950 ramp

primary
#665299
secondary
#ACB790
accent
#C661AA
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #665299

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

Preview Lab → · Contrast checker → · Palette generator →

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