#665183#665183

#665183 is a mid, moderate violet. Relative luminance 0.103; OKLCH L 47.7% C 0.082 H 302.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#665183
RGBrgb(102, 81, 131)
HSLhsl(265, 24%, 42%)
HSVhsv(265, 38%, 51%)
CMYKcmyk(22.1%, 38.2%, 0%, 48.6%)
CIE-LABlab(38.46, 19.65, -24.88)
CIE-LCHlch(38.46, 31.70, 308.30°)
OKLaboklab(47.73% 0.0444 -0.069)
OKLCHoklch(47.73% 0.082 302.7)
XYZxyz(12.5178, 10.3483, 22.8063)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665183 #6E8351
analogous
#515583 #665183 #7F5183
triadic
#665183 #836651 #518366
tetradic
#665183 #835155 #6E8351 #51837F
square
#665183 #835155 #6E8351 #51837F
split-complementary
#665183 #837F51 #558351
monochromatic
#2B2237 #493A5D #665183 #846DA5 #A492BC

Accessibility & contrast

On white

6.84
#665183 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#665183 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665183
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665183#FFFFFF#000000##FFFFFF
##6651831.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455A85
Deuteranopia (green-blind)
#4A5A82
Tritanopia (blue-blind)
#615964
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #665183;
/* rgb */ color: rgb(102, 81, 131);
/* oklch */ color: oklch(47.7% 0.082 302.7);
Tailwind
colors: {
  custom: {
    50: '#9282a7',
    500: '#665183',
    950: '#000000',
  },
}
SCSS
$custom: #665183;
$custom-light: #9282a7;
$custom-dark: #000000;
JSON
{
  "hex": "#665183",
  "rgb": {
    "r": 102,
    "g": 81,
    "b": 131
  },
  "hsl": {
    "h": 265.2,
    "s": 23.585,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47729,
    "c": 0.08201,
    "h": 302.7
  },
  "luminance": 0.10348
}

Semantic roles & 50–950 ramp

primary
#665183
secondary
#9BA987
accent
#C0689B
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D0A0F
muted
#7E7C7F

Preview Lab

Preview with #665183

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

Preview Lab → · Contrast checker → · Palette generator →

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