#631173#631173

#631173 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.2% C 0.162 H 320.2°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#631173
RGBrgb(99, 17, 115)
HSLhsl(290, 74%, 26%)
HSVhsv(290, 85%, 45%)
CMYKcmyk(13.9%, 85.2%, 0%, 54.9%)
CIE-LABlab(24.61, 48.01, -36.82)
CIE-LCHlch(24.61, 60.50, 322.52°)
OKLaboklab(37.16% 0.1241 -0.1034)
OKLCHoklch(37.16% 0.162 320.2)
XYZxyz(8.4402, 4.2918, 16.6002)
Luminance0.0429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631173 #217311
analogous
#321173 #631173 #731152
triadic
#631173 #736311 #117363
tetradic
#631173 #733211 #217311 #115273
square
#631173 #733211 #217311 #115273
split-complementary
#631173 #527311 #117332
monochromatic
#17041B #35093E #631173 #9119A8 #BF21DE

Accessibility & contrast

On white

11.30
#631173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#631173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631173
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631173#FFFFFF#000000##FFFFFF
##6311731.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003576
Deuteranopia (green-blind)
#1C3D71
Tritanopia (blue-blind)
#632743
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #631173;
/* rgb */ color: rgb(99, 17, 115);
/* oklch */ color: oklch(37.2% 0.162 320.2);
Tailwind
colors: {
  custom: {
    50: '#935c9c',
    500: '#631173',
    950: '#000000',
  },
}
SCSS
$custom: #631173;
$custom-light: #935c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#631173",
  "rgb": {
    "r": 99,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 290.204,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.37159,
    "c": 0.16154,
    "h": 320.2
  },
  "luminance": 0.04291
}

Semantic roles & 50–950 ramp

primary
#631173
secondary
#49AA36
accent
#F13755
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #631173

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

Preview Lab → · Contrast checker → · Palette generator →

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