#631792#631792

#631792 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.1% C 0.184 H 307.6°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#631792
RGBrgb(99, 23, 146)
HSLhsl(277, 73%, 33%)
HSVhsv(277, 84%, 57%)
CMYKcmyk(32.2%, 84.2%, 0%, 42.7%)
CIE-LABlab(27.68, 52.67, -51.35)
CIE-LCHlch(27.68, 73.56, 315.73°)
OKLaboklab(40.07% 0.1124 -0.1461)
OKLCHoklch(40.07% 0.184 307.6)
XYZxyz(10.6392, 5.3409, 27.6590)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631792 #469217
analogous
#251792 #631792 #921783
triadic
#631792 #926317 #179263
tetradic
#631792 #922517 #469217 #178392
square
#631792 #922517 #469217 #178392
split-complementary
#631792 #839217 #179225
monochromatic
#1B0628 #3F0F5D #631792 #871FC7 #A442E1

Accessibility & contrast

On white

10.15
#631792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#631792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631792
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631792#FFFFFF#000000##FFFFFF
##6317921.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#5B3956
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #631792;
/* rgb */ color: rgb(99, 23, 146);
/* oklch */ color: oklch(40.1% 0.184 307.6);
Tailwind
colors: {
  custom: {
    50: '#9560b3',
    500: '#631792',
    950: '#000000',
  },
}
SCSS
$custom: #631792;
$custom-light: #9560b3;
$custom-dark: #000000;
JSON
{
  "hex": "#631792",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 146
  },
  "hsl": {
    "h": 277.073,
    "s": 72.781,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40073,
    "c": 0.18433,
    "h": 307.6
  },
  "luminance": 0.05341
}

Semantic roles & 50–950 ramp

primary
#631792
secondary
#73C243
accent
#EF387E
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #631792

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

Preview Lab → · Contrast checker → · Palette generator →

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