#665296#665296

#665296 is a mid, moderate violet. Relative luminance 0.111; OKLCH L 49.0% C 0.107 H 295.7°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#665296
RGBrgb(102, 82, 150)
HSLhsl(258, 29%, 45%)
HSVhsv(258, 45%, 59%)
CMYKcmyk(32%, 45.3%, 0%, 41.2%)
CIE-LABlab(39.68, 24.05, -34.49)
CIE-LCHlch(39.68, 42.05, 304.88°)
OKLaboklab(48.97% 0.0467 -0.0968)
OKLCHoklch(48.97% 0.107 295.7)
XYZxyz(14.0004, 11.0612, 30.2457)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665296 #829652
analogous
#526096 #665296 #885296
triadic
#665296 #966652 #529666
tetradic
#665296 #965260 #829652 #529688
square
#665296 #965260 #829652 #529688
split-complementary
#665296 #968852 #609652
monochromatic
#302747 #4B3C6E #665296 #8673B2 #A89AC8

Accessibility & contrast

On white

6.54
#665296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#665296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665296
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665296#FFFFFF#000000##FFFFFF
##6652961.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E99
Deuteranopia (green-blind)
#405D94
Tritanopia (blue-blind)
#5C5E6D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #665296;
/* rgb */ color: rgb(102, 82, 150);
/* oklch */ color: oklch(49.0% 0.107 295.7);
Tailwind
colors: {
  custom: {
    50: '#9483b5',
    500: '#665296',
    950: '#000000',
  },
}
SCSS
$custom: #665296;
$custom-light: #9483b5;
$custom-dark: #000000;
JSON
{
  "hex": "#665296",
  "rgb": {
    "r": 102,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 257.647,
    "s": 29.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48971,
    "c": 0.10749,
    "h": 295.7
  },
  "luminance": 0.11061
}

Semantic roles & 50–950 ramp

primary
#665296
secondary
#AAB58F
accent
#C662A8
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #665296

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

Preview Lab → · Contrast checker → · Palette generator →

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