#631373#631373

#631373 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.3% C 0.160 H 320.1°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#631373
RGBrgb(99, 19, 115)
HSLhsl(290, 72%, 26%)
HSVhsv(290, 83%, 45%)
CMYKcmyk(13.9%, 83.5%, 0%, 54.9%)
CIE-LABlab(24.82, 47.42, -36.49)
CIE-LCHlch(24.82, 59.84, 322.42°)
OKLaboklab(37.3% 0.1225 -0.1025)
OKLCHoklch(37.3% 0.16 320.1)
XYZxyz(8.4726, 4.3566, 16.6110)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631373 #237313
analogous
#331373 #631373 #731353
triadic
#631373 #736313 #137363
tetradic
#631373 #733313 #237313 #135373
square
#631373 #733313 #237313 #135373
split-complementary
#631373 #537313 #137333
monochromatic
#17041A #360A3E #631373 #901CA8 #BD25DB

Accessibility & contrast

On white

11.22
#631373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#631373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631373
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631373#FFFFFF#000000##FFFFFF
##6313731.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#1D3E71
Tritanopia (blue-blind)
#632844
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #631373;
/* rgb */ color: rgb(99, 19, 115);
/* oklch */ color: oklch(37.3% 0.160 320.1);
Tailwind
colors: {
  custom: {
    50: '#935c9c',
    500: '#631373',
    950: '#000000',
  },
}
SCSS
$custom: #631373;
$custom-light: #935c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#631373",
  "rgb": {
    "r": 99,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 290,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.37303,
    "c": 0.15973,
    "h": 320.1
  },
  "luminance": 0.04356
}

Semantic roles & 50–950 ramp

primary
#631373
secondary
#4BAA38
accent
#EE3958
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631373

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

Preview Lab → · Contrast checker → · Palette generator →

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