#631790#631790

#631790 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.182 H 308.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#631790
RGBrgb(99, 23, 144)
HSLhsl(278, 72%, 33%)
HSVhsv(278, 84%, 56%)
CMYKcmyk(31.3%, 84%, 0%, 43.5%)
CIE-LABlab(27.52, 52.23, -50.39)
CIE-LCHlch(27.52, 72.57, 316.03°)
OKLaboklab(39.9% 0.1129 -0.1433)
OKLCHoklch(39.9% 0.182 308.2)
XYZxyz(10.4850, 5.2792, 26.8468)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631790 #449017
analogous
#271790 #631790 #901780
triadic
#631790 #906317 #179063
tetradic
#631790 #902717 #449017 #178090
square
#631790 #902717 #449017 #178090
split-complementary
#631790 #809017 #179027
monochromatic
#1A0626 #3F0F5B #631790 #871FC5 #A541E1

Accessibility & contrast

On white

10.22
#631790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#631790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631790
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631790#FFFFFF#000000##FFFFFF
##6317901.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#5C3855
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #631790;
/* rgb */ color: rgb(99, 23, 144);
/* oklch */ color: oklch(39.9% 0.182 308.2);
Tailwind
colors: {
  custom: {
    50: '#955fb1',
    500: '#631790',
    950: '#000000',
  },
}
SCSS
$custom: #631790;
$custom-light: #955fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#631790",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 277.686,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39904,
    "c": 0.18246,
    "h": 308.2
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#631790
secondary
#71C142
accent
#EF397D
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #631790

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

Preview Lab → · Contrast checker → · Palette generator →

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