#634097#634097

#634097 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.5% C 0.138 H 299.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#634097
RGBrgb(99, 64, 151)
HSLhsl(264, 40%, 42%)
HSVhsv(264, 58%, 59%)
CMYKcmyk(34.4%, 57.6%, 0%, 40.8%)
CIE-LABlab(35.11, 34.40, -42.40)
CIE-LCHlch(35.11, 54.59, 309.05°)
OKLaboklab(45.51% 0.0678 -0.12)
OKLCHoklch(45.51% 0.138 299.4)
XYZxyz(12.5635, 8.5537, 30.2613)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#634097 #749740
analogous
#404997 #634097 #8F4097
triadic
#634097 #976340 #409763
tetradic
#634097 #974049 #749740 #40978F
square
#634097 #974049 #749740 #40978F
split-complementary
#634097 #978F40 #499740
monochromatic
#2B1C41 #472E6C #634097 #815BB9 #A286CC

Accessibility & contrast

On white

7.75
#634097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#634097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #634097
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##634097#FFFFFF#000000##FFFFFF
##6340971.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19529A
Deuteranopia (green-blind)
#265295
Tritanopia (blue-blind)
#585265
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #634097;
/* rgb */ color: rgb(99, 64, 151);
/* oklch */ color: oklch(45.5% 0.138 299.4);
Tailwind
colors: {
  custom: {
    50: '#9376b6',
    500: '#634097',
    950: '#000000',
  },
}
SCSS
$custom: #634097;
$custom-light: #9376b6;
$custom-dark: #000000;
JSON
{
  "hex": "#634097",
  "rgb": {
    "r": 99,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 264.138,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4551,
    "c": 0.13785,
    "h": 299.4
  },
  "luminance": 0.08554
}

Semantic roles & 50–950 ramp

primary
#634097
secondary
#9FB67D
accent
#D057A0
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #634097

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

Preview Lab → · Contrast checker → · Palette generator →

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