#631793#631793

#631793 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.185 H 307.2°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#631793
RGBrgb(99, 23, 147)
HSLhsl(277, 73%, 33%)
HSVhsv(277, 84%, 58%)
CMYKcmyk(32.7%, 84.4%, 0%, 42.4%)
CIE-LABlab(27.77, 52.89, -51.82)
CIE-LCHlch(27.77, 74.05, 315.58°)
OKLaboklab(40.16% 0.1121 -0.1475)
OKLCHoklch(40.16% 0.185 307.2)
XYZxyz(10.7173, 5.3722, 28.0704)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631793 #479317
analogous
#251793 #631793 #931785
triadic
#631793 #936317 #179363
tetradic
#631793 #932517 #479317 #178593
square
#631793 #932517 #479317 #178593
split-complementary
#631793 #859317 #179325
monochromatic
#1C0629 #3F0F5E #631793 #871FC8 #A443E2

Accessibility & contrast

On white

10.12
#631793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631793
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631793#FFFFFF#000000##FFFFFF
##6317931.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#5B3957
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631793;
/* rgb */ color: rgb(99, 23, 147);
/* oklch */ color: oklch(40.2% 0.185 307.2);
Tailwind
colors: {
  custom: {
    50: '#9560b4',
    500: '#631793',
    950: '#000000',
  },
}
SCSS
$custom: #631793;
$custom-light: #9560b4;
$custom-dark: #000000;
JSON
{
  "hex": "#631793",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 147
  },
  "hsl": {
    "h": 276.774,
    "s": 72.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40159,
    "c": 0.18527,
    "h": 307.2
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#631793
secondary
#75C244
accent
#F0387F
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #631793

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

Preview Lab → · Contrast checker → · Palette generator →

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