#631795#631795

#631795 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.3% C 0.187 H 306.6°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#631795
RGBrgb(99, 23, 149)
HSLhsl(276, 73%, 34%)
HSVhsv(276, 85%, 58%)
CMYKcmyk(33.6%, 84.6%, 0%, 41.6%)
CIE-LABlab(27.94, 53.34, -52.78)
CIE-LCHlch(27.94, 75.04, 315.30°)
OKLaboklab(40.33% 0.1115 -0.1503)
OKLCHoklch(40.33% 0.187 306.6)
XYZxyz(10.8756, 5.4355, 28.9042)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631795 #499517
analogous
#241795 #631795 #951788
triadic
#631795 #956317 #179563
tetradic
#631795 #952417 #499517 #178895
square
#631795 #952417 #499517 #178895
split-complementary
#631795 #889517 #179524
monochromatic
#1D072B #400F60 #631795 #861FCA #A344E2

Accessibility & contrast

On white

10.06
#631795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#631795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631795
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631795#FFFFFF#000000##FFFFFF
##6317951.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#5A3A58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631795;
/* rgb */ color: rgb(99, 23, 149);
/* oklch */ color: oklch(40.3% 0.187 306.6);
Tailwind
colors: {
  custom: {
    50: '#9560b5',
    500: '#631795',
    950: '#000000',
  },
}
SCSS
$custom: #631795;
$custom-light: #9560b5;
$custom-dark: #000000;
JSON
{
  "hex": "#631795",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 149
  },
  "hsl": {
    "h": 276.19,
    "s": 73.256,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40331,
    "c": 0.18714,
    "h": 306.6
  },
  "luminance": 0.05435
}

Semantic roles & 50–950 ramp

primary
#631795
secondary
#77C345
accent
#F03881
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631795

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

Preview Lab → · Contrast checker → · Palette generator →

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