#635172#635172

#635172 is a mid, muted violet. Relative luminance 0.098; OKLCH L 46.6% C 0.057 H 309.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#635172
RGBrgb(99, 81, 114)
HSLhsl(273, 17%, 38%)
HSVhsv(273, 29%, 45%)
CMYKcmyk(13.2%, 28.9%, 0%, 55.3%)
CIE-LABlab(37.39, 14.43, -16.08)
CIE-LCHlch(37.39, 21.61, 311.90°)
OKLaboklab(46.59% 0.0357 -0.044)
OKLCHoklch(46.59% 0.057 309.1)
XYZxyz(11.1247, 9.7525, 17.2127)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#635172 #607251
analogous
#525172 #635172 #725170
triadic
#635172 #726351 #517263
tetradic
#635172 #725251 #607251 #517072
square
#635172 #725251 #607251 #517072
split-complementary
#635172 #707251 #517252
monochromatic
#251E2A #44384E #635172 #826B96 #A08EAF

Accessibility & contrast

On white

7.12
#635172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#635172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #635172
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##635172#FFFFFF#000000##FFFFFF
##6351721.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5773
Deuteranopia (green-blind)
#4F5871
Tritanopia (blue-blind)
#61555D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #635172;
/* rgb */ color: rgb(99, 81, 114);
/* oklch */ color: oklch(46.6% 0.057 309.1);
Tailwind
colors: {
  custom: {
    50: '#8f829a',
    500: '#635172',
    950: '#000000',
  },
}
SCSS
$custom: #635172;
$custom-light: #8f829a;
$custom-dark: #000000;
JSON
{
  "hex": "#635172",
  "rgb": {
    "r": 99,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 272.727,
    "s": 16.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46593,
    "c": 0.05664,
    "h": 309.1
  },
  "luminance": 0.09752
}

Semantic roles & 50–950 ramp

primary
#635172
secondary
#8E9D82
accent
#BA6E90
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C0A0E
muted
#7D7C7E

Preview Lab

Preview with #635172

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

Preview Lab → · Contrast checker → · Palette generator →

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