#665291#665291

#665291 is a mid, moderate violet. Relative luminance 0.109; OKLCH L 48.7% C 0.100 H 297.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#665291
RGBrgb(102, 82, 145)
HSLhsl(259, 28%, 45%)
HSVhsv(259, 43%, 57%)
CMYKcmyk(29.7%, 43.4%, 0%, 43.1%)
CIE-LABlab(39.42, 22.69, -31.89)
CIE-LCHlch(39.42, 39.14, 305.43°)
OKLaboklab(48.68% 0.0458 -0.0893)
OKLCHoklch(48.68% 0.1 297.2)
XYZxyz(13.6064, 10.9036, 28.1703)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665291 #7D9152
analogous
#525E91 #665291 #865291
triadic
#665291 #916652 #529166
tetradic
#665291 #91525E #7D9152 #529186
square
#665291 #91525E #7D9152 #529186
split-complementary
#665291 #918652 #5E9152
monochromatic
#2F2643 #4B3C6A #665291 #8571AF #A798C5

Accessibility & contrast

On white

6.60
#665291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#665291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665291
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665291#FFFFFF#000000##FFFFFF
##6652911.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405D93
Deuteranopia (green-blind)
#435C8F
Tritanopia (blue-blind)
#5D5D6A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #665291;
/* rgb */ color: rgb(102, 82, 145);
/* oklch */ color: oklch(48.7% 0.100 297.2);
Tailwind
colors: {
  custom: {
    50: '#9383b1',
    500: '#665291',
    950: '#000000',
  },
}
SCSS
$custom: #665291;
$custom-light: #9383b1;
$custom-dark: #000000;
JSON
{
  "hex": "#665291",
  "rgb": {
    "r": 102,
    "g": 82,
    "b": 145
  },
  "hsl": {
    "h": 259.048,
    "s": 27.753,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48683,
    "c": 0.10033,
    "h": 297.2
  },
  "luminance": 0.10904
}

Semantic roles & 50–950 ramp

primary
#665291
secondary
#A6B28D
accent
#C464A5
background
#F9F8FA
surface
#F1EFF5
border
#CBCACF
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #665291

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

Preview Lab → · Contrast checker → · Palette generator →

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