#634C8A#634C8A

#634C8A is a mid, moderate violet. Relative luminance 0.097; OKLCH L 46.8% C 0.100 H 299.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#634C8A
RGBrgb(99, 76, 138)
HSLhsl(262, 29%, 42%)
HSVhsv(262, 45%, 54%)
CMYKcmyk(28.3%, 44.9%, 0%, 45.9%)
CIE-LABlab(37.22, 23.63, -31.13)
CIE-LCHlch(37.22, 39.08, 307.20°)
OKLaboklab(46.83% 0.0496 -0.0871)
OKLCHoklch(46.83% 0.1 299.6)
XYZxyz(12.3164, 9.6564, 25.2548)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#634C8A #738A4C
analogous
#4C548A #634C8A #824C8A
triadic
#634C8A #8A634C #4C8A63
tetradic
#634C8A #8A4C54 #738A4C #4C8A82
square
#634C8A #8A4C54 #738A4C #4C8A82
split-complementary
#634C8A #8A824C #548A4C
monochromatic
#2A213B #473663 #634C8A #8168AC #A28FC1

Accessibility & contrast

On white

7.16
#634C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#634C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #634C8A
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##634C8A#FFFFFF#000000##FFFFFF
##634C8A1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A578C
Deuteranopia (green-blind)
#3F5788
Tritanopia (blue-blind)
#5B5764
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #634c8a;
/* rgb */ color: rgb(99, 76, 138);
/* oklch */ color: oklch(46.8% 0.100 299.6);
Tailwind
colors: {
  custom: {
    50: '#917eac',
    500: '#634c8a',
    950: '#000000',
  },
}
SCSS
$custom: #634c8a;
$custom-light: #917eac;
$custom-dark: #000000;
JSON
{
  "hex": "#634c8a",
  "rgb": {
    "r": 99,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 262.258,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46832,
    "c": 0.10023,
    "h": 299.6
  },
  "luminance": 0.09657
}

Semantic roles & 50–950 ramp

primary
#634C8A
secondary
#9EAE84
accent
#C563A1
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D0A10
muted
#7E7C7F

Preview Lab

Preview with #634C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#634C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva