#631168#631168

#631168 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.4% C 0.152 H 325.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#631168
RGBrgb(99, 17, 104)
HSLhsl(297, 72%, 24%)
HSVhsv(297, 84%, 41%)
CMYKcmyk(4.8%, 83.7%, 0%, 59.2%)
CIE-LABlab(23.85, 45.94, -30.94)
CIE-LCHlch(23.85, 55.38, 326.04°)
OKLaboklab(36.38% 0.1254 -0.0862)
OKLCHoklch(36.38% 0.152 325.5)
XYZxyz(7.8446, 4.0536, 13.4633)
Luminance0.0405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631168 #166811
analogous
#371168 #631168 #681141
triadic
#631168 #686311 #116863
tetradic
#631168 #683711 #166811 #114168
square
#631168 #683711 #166811 #114168
split-complementary
#631168 #416811 #116837
monochromatic
#19041A #310833 #631168 #951A9D #C722D1

Accessibility & contrast

On white

11.60
#631168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#631168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631168
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631168#FFFFFF#000000##FFFFFF
##6311681.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326A
Deuteranopia (green-blind)
#263C66
Tritanopia (blue-blind)
#65223D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #631168;
/* rgb */ color: rgb(99, 17, 104);
/* oklch */ color: oklch(36.4% 0.152 325.5);
Tailwind
colors: {
  custom: {
    50: '#935b93',
    500: '#631168',
    950: '#000000',
  },
}
SCSS
$custom: #631168;
$custom-light: #935b93;
$custom-dark: #000000;
JSON
{
  "hex": "#631168",
  "rgb": {
    "r": 99,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 296.552,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.36375,
    "c": 0.1522,
    "h": 325.5
  },
  "luminance": 0.04053
}

Semantic roles & 50–950 ramp

primary
#631168
secondary
#3BA035
accent
#EF3944
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #631168

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

Preview Lab → · Contrast checker → · Palette generator →

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