#635798#635798

#635798 is a mid, moderate violet. Relative luminance 0.117; OKLCH L 49.8% C 0.102 H 290.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#635798
RGBrgb(99, 87, 152)
HSLhsl(251, 27%, 47%)
HSVhsv(251, 43%, 60%)
CMYKcmyk(34.9%, 42.8%, 0%, 40.4%)
CIE-LABlab(40.79, 20.64, -33.96)
CIE-LCHlch(40.79, 39.74, 301.29°)
OKLaboklab(49.78% 0.036 -0.0954)
OKLCHoklch(49.78% 0.102 290.7)
XYZxyz(14.2198, 11.7357, 31.2157)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#635798 #8C9857
analogous
#576C98 #635798 #845798
triadic
#635798 #986357 #579863
tetradic
#635798 #98576C #8C9857 #579884
square
#635798 #98576C #8C9857 #579884
split-complementary
#635798 #988457 #6C9857
monochromatic
#302A4A #4A4171 #635798 #847AB3 #A8A0C9

Accessibility & contrast

On white

6.27
#635798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#635798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #635798
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##635798#FFFFFF#000000##FFFFFF
##6357981.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42619A
Deuteranopia (green-blind)
#435F96
Tritanopia (blue-blind)
#566370
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #635798;
/* rgb */ color: rgb(99, 87, 152);
/* oklch */ color: oklch(49.8% 0.102 290.7);
Tailwind
colors: {
  custom: {
    50: '#9186b6',
    500: '#635798',
    950: '#000000',
  },
}
SCSS
$custom: #635798;
$custom-light: #9186b6;
$custom-dark: #000000;
JSON
{
  "hex": "#635798",
  "rgb": {
    "r": 99,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 251.077,
    "s": 27.197,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49776,
    "c": 0.10194,
    "h": 290.7
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #635798

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

Preview Lab → · Contrast checker → · Palette generator →

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