#65517C#65517C

#65517C is a mid, moderate violet. Relative luminance 0.101; OKLCH L 47.3% C 0.072 H 305.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#65517C
RGBrgb(101, 81, 124)
HSLhsl(268, 21%, 40%)
HSVhsv(268, 35%, 49%)
CMYKcmyk(18.5%, 34.7%, 0%, 51.4%)
CIE-LABlab(38.03, 17.56, -21.26)
CIE-LCHlch(38.03, 27.57, 309.56°)
OKLaboklab(47.27% 0.0413 -0.0586)
OKLCHoklch(47.27% 0.072 305.1)
XYZxyz(11.9466, 10.1068, 20.3863)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65517C #687C51
analogous
#51527C #65517C #7B517C
triadic
#65517C #7C6551 #517C65
tetradic
#65517C #7C5152 #687C51 #517C7B
square
#65517C #7C5152 #687C51 #517C7B
split-complementary
#65517C #7C7B51 #527C51
monochromatic
#292132 #473957 #65517C #836C9F #A291B7

Accessibility & contrast

On white

6.95
#65517C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#65517C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #65517C
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65517C#FFFFFF#000000##FFFFFF
##65517C1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597E
Deuteranopia (green-blind)
#4C5A7B
Tritanopia (blue-blind)
#625761
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #65517c;
/* rgb */ color: rgb(101, 81, 124);
/* oklch */ color: oklch(47.3% 0.072 305.1);
Tailwind
colors: {
  custom: {
    50: '#9182a2',
    500: '#65517c',
    950: '#000000',
  },
}
SCSS
$custom: #65517c;
$custom-light: #9182a2;
$custom-dark: #000000;
JSON
{
  "hex": "#65517c",
  "rgb": {
    "r": 101,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 267.907,
    "s": 20.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47273,
    "c": 0.07168,
    "h": 305.1
  },
  "luminance": 0.10107
}

Semantic roles & 50–950 ramp

primary
#65517C
secondary
#95A485
accent
#BE6A97
background
#F9F7F9
surface
#F1EEF2
border
#CBC9CC
text
#0D0A0F
muted
#7E7C7E

Preview Lab

Preview with #65517C

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

Preview Lab → · Contrast checker → · Palette generator →

#65517C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva