#665381#665381

#665381 is a mid, moderate violet. Relative luminance 0.106; OKLCH L 48.0% C 0.075 H 302.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#665381
RGBrgb(102, 83, 129)
HSLhsl(265, 22%, 42%)
HSVhsv(265, 36%, 51%)
CMYKcmyk(20.9%, 35.7%, 0%, 49.4%)
CIE-LABlab(38.89, 17.90, -22.98)
CIE-LCHlch(38.89, 29.13, 307.91°)
OKLaboklab(48.03% 0.0407 -0.0635)
OKLCHoklch(48.03% 0.075 302.6)
XYZxyz(12.5344, 10.5963, 22.1496)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665381 #6E8153
analogous
#535781 #665381 #7D5381
triadic
#665381 #816653 #538166
tetradic
#665381 #815357 #6E8153 #53817D
square
#665381 #815357 #6E8153 #53817D
split-complementary
#665381 #817D53 #578153
monochromatic
#2B2337 #493B5C #665381 #846FA2 #A494BA

Accessibility & contrast

On white

6.73
#665381 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#665381 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665381
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665381#FFFFFF#000000##FFFFFF
##6653811.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495B83
Deuteranopia (green-blind)
#4C5B80
Tritanopia (blue-blind)
#625A64
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #665381;
/* rgb */ color: rgb(102, 83, 129);
/* oklch */ color: oklch(48.0% 0.075 302.6);
Tailwind
colors: {
  custom: {
    50: '#9283a5',
    500: '#665381',
    950: '#000000',
  },
}
SCSS
$custom: #665381;
$custom-light: #9283a5;
$custom-dark: #000000;
JSON
{
  "hex": "#665381",
  "rgb": {
    "r": 102,
    "g": 83,
    "b": 129
  },
  "hsl": {
    "h": 264.783,
    "s": 21.698,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48027,
    "c": 0.07547,
    "h": 302.6
  },
  "luminance": 0.10596
}

Semantic roles & 50–950 ramp

primary
#665381
secondary
#9BA888
accent
#BE6A9B
background
#F9F8FA
surface
#F1EFF4
border
#CBCACE
text
#0D0A0F
muted
#7E7C7F

Preview Lab

Preview with #665381

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

Preview Lab → · Contrast checker → · Palette generator →

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