#635797#635797

#635797 is a mid, moderate violet. Relative luminance 0.117; OKLCH L 49.7% C 0.100 H 290.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#635797
RGBrgb(99, 87, 151)
HSLhsl(251, 27%, 47%)
HSVhsv(251, 42%, 59%)
CMYKcmyk(34.4%, 42.4%, 0%, 40.8%)
CIE-LABlab(40.74, 20.35, -33.44)
CIE-LCHlch(40.74, 39.15, 301.33°)
OKLaboklab(49.72% 0.0358 -0.0938)
OKLCHoklch(49.72% 0.1 290.9)
XYZxyz(14.1382, 11.7031, 30.7862)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#635797 #8B9757
analogous
#576B97 #635797 #835797
triadic
#635797 #976357 #579763
tetradic
#635797 #97576B #8B9757 #579783
square
#635797 #97576B #8B9757 #579783
split-complementary
#635797 #978357 #6B9757
monochromatic
#302A49 #4A4170 #635797 #8479B2 #A8A0C8

Accessibility & contrast

On white

6.29
#635797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#635797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #635797
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##635797#FFFFFF#000000##FFFFFF
##6357971.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436199
Deuteranopia (green-blind)
#445F95
Tritanopia (blue-blind)
#566370
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #635797;
/* rgb */ color: rgb(99, 87, 151);
/* oklch */ color: oklch(49.7% 0.100 290.9);
Tailwind
colors: {
  custom: {
    50: '#9186b6',
    500: '#635797',
    950: '#000000',
  },
}
SCSS
$custom: #635797;
$custom-light: #9186b6;
$custom-dark: #000000;
JSON
{
  "hex": "#635797",
  "rgb": {
    "r": 99,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 251.25,
    "s": 26.891,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49719,
    "c": 0.10046,
    "h": 290.9
  },
  "luminance": 0.11703
}

Semantic roles & 50–950 ramp

primary
#635797
secondary
#B0B694
accent
#C365B1
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #635797

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

Preview Lab → · Contrast checker → · Palette generator →

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