#634AAF#634AAF

#634AAF is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.9% C 0.154 H 291.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#634AAF
RGBrgb(99, 74, 175)
HSLhsl(255, 41%, 49%)
HSVhsv(255, 58%, 69%)
CMYKcmyk(43.4%, 57.7%, 0%, 31.4%)
CIE-LABlab(38.98, 35.20, -50.57)
CIE-LCHlch(38.98, 61.61, 304.85°)
OKLaboklab(48.86% 0.0553 -0.144)
OKLCHoklch(48.86% 0.154 291)
XYZxyz(15.3301, 10.6449, 41.7961)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#634AAF #96AF4A
analogous
#4A64AF #634AAF #964AAF
triadic
#634AAF #AF634A #4AAF63
tetradic
#634AAF #AF4A64 #96AF4A #4AAF96
square
#634AAF #AF4A64 #96AF4A #4AAF96
split-complementary
#634AAF #AF964A #64AF4A
monochromatic
#322659 #4B3884 #634AAF #8773C4 #AC9ED6

Accessibility & contrast

On white

6.71
#634AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#634AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #634AAF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##634AAF#FFFFFF#000000##FFFFFF
##634AAF1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5DB2
Deuteranopia (green-blind)
#145AAD
Tritanopia (blue-blind)
#4D6075
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #634aaf;
/* rgb */ color: rgb(99, 74, 175);
/* oklch */ color: oklch(48.9% 0.154 291.0);
Tailwind
colors: {
  custom: {
    50: '#947dc7',
    500: '#634aaf',
    950: '#000000',
  },
}
SCSS
$custom: #634aaf;
$custom-light: #947dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#634aaf",
  "rgb": {
    "r": 99,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 254.851,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48863,
    "c": 0.15428,
    "h": 291
  },
  "luminance": 0.10645
}

Semantic roles & 50–950 ramp

primary
#634AAF
secondary
#B7C292
accent
#D057B2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #634AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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