#665387#665387

#665387 is a mid, moderate violet. Relative luminance 0.108; OKLCH L 48.3% C 0.084 H 300.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#665387
RGBrgb(102, 83, 135)
HSLhsl(262, 24%, 43%)
HSVhsv(262, 39%, 53%)
CMYKcmyk(24.4%, 38.5%, 0%, 47.1%)
CIE-LABlab(39.17, 19.43, -26.21)
CIE-LCHlch(39.17, 32.62, 306.56°)
OKLaboklab(48.33% 0.0422 -0.0728)
OKLCHoklch(48.33% 0.084 300.1)
XYZxyz(12.9449, 10.7605, 24.3120)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665387 #748753
analogous
#535A87 #665387 #805387
triadic
#665387 #876653 #538766
tetradic
#665387 #87535A #748753 #538780
square
#665387 #87535A #748753 #538780
split-complementary
#665387 #878053 #5A8753
monochromatic
#2D243B #493C61 #665387 #8470A7 #A596BE

Accessibility & contrast

On white

6.66
#665387 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#665387 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665387
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665387#FFFFFF#000000##FFFFFF
##6653871.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465C89
Deuteranopia (green-blind)
#4A5C86
Tritanopia (blue-blind)
#605C66
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #665387;
/* rgb */ color: rgb(102, 83, 135);
/* oklch */ color: oklch(48.3% 0.084 300.1);
Tailwind
colors: {
  custom: {
    50: '#9383aa',
    500: '#665387',
    950: '#000000',
  },
}
SCSS
$custom: #665387;
$custom-light: #9383aa;
$custom-dark: #000000;
JSON
{
  "hex": "#665387",
  "rgb": {
    "r": 102,
    "g": 83,
    "b": 135
  },
  "hsl": {
    "h": 261.923,
    "s": 23.853,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48334,
    "c": 0.08416,
    "h": 300.1
  },
  "luminance": 0.10761
}

Semantic roles & 50–950 ramp

primary
#665387
secondary
#9FAC8A
accent
#C067A0
background
#F9F8FA
surface
#F1EFF4
border
#CBCACE
text
#0D0A10
muted
#7E7C7F

Preview Lab

Preview with #665387

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

Preview Lab → · Contrast checker → · Palette generator →

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