#665397#665397

#665397 is a mid, moderate violet. Relative luminance 0.112; OKLCH L 49.2% C 0.107 H 295.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#665397
RGBrgb(102, 83, 151)
HSLhsl(257, 29%, 46%)
HSVhsv(257, 45%, 59%)
CMYKcmyk(32.5%, 45%, 0%, 40.8%)
CIE-LABlab(39.99, 23.70, -34.61)
CIE-LCHlch(39.99, 41.95, 304.41°)
OKLaboklab(49.22% 0.0454 -0.0972)
OKLCHoklch(49.22% 0.107 295)
XYZxyz(14.1573, 11.2454, 30.6969)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665397 #849753
analogous
#536297 #665397 #885397
triadic
#665397 #976653 #539766
tetradic
#665397 #975362 #849753 #539788
square
#665397 #975362 #849753 #539788
split-complementary
#665397 #978853 #629753
monochromatic
#312848 #4B3D70 #665397 #8674B3 #A89CC9

Accessibility & contrast

On white

6.46
#665397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#665397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665397
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665397#FFFFFF#000000##FFFFFF
##6653971.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F9A
Deuteranopia (green-blind)
#415D95
Tritanopia (blue-blind)
#5B606E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #665397;
/* rgb */ color: rgb(102, 83, 151);
/* oklch */ color: oklch(49.2% 0.107 295.0);
Tailwind
colors: {
  custom: {
    50: '#9483b6',
    500: '#665397',
    950: '#000000',
  },
}
SCSS
$custom: #665397;
$custom-light: #9483b6;
$custom-dark: #000000;
JSON
{
  "hex": "#665397",
  "rgb": {
    "r": 102,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 256.765,
    "s": 29.06,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4922,
    "c": 0.10724,
    "h": 295
  },
  "luminance": 0.11246
}

Semantic roles & 50–950 ramp

primary
#665397
secondary
#ABB690
accent
#C562AA
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #665397

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

Preview Lab → · Contrast checker → · Palette generator →

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