#631768#631768

#631768 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.9% C 0.146 H 325.3°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#631768
RGBrgb(99, 23, 104)
HSLhsl(296, 64%, 25%)
HSVhsv(296, 78%, 41%)
CMYKcmyk(4.8%, 77.9%, 0%, 59.2%)
CIE-LABlab(24.53, 43.97, -29.85)
CIE-LCHlch(24.53, 53.14, 325.83°)
OKLaboklab(36.86% 0.12 -0.0831)
OKLCHoklch(36.86% 0.146 325.3)
XYZxyz(7.9505, 4.2654, 13.4986)
Luminance0.0427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631768 #1C6817
analogous
#3A1768 #631768 #681745
triadic
#631768 #686317 #176863
tetradic
#631768 #683A17 #1C6817 #174568
square
#631768 #683A17 #1C6817 #174568
split-complementary
#631768 #456817 #17683A
monochromatic
#180619 #330C36 #631768 #93229A #C22DCC

Accessibility & contrast

On white

11.33
#631768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#631768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631768
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631768#FFFFFF#000000##FFFFFF
##6317681.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#283D66
Tritanopia (blue-blind)
#65253E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #631768;
/* rgb */ color: rgb(99, 23, 104);
/* oklch */ color: oklch(36.9% 0.146 325.3);
Tailwind
colors: {
  custom: {
    50: '#925d93',
    500: '#631768',
    950: '#000000',
  },
}
SCSS
$custom: #631768;
$custom-light: #925d93;
$custom-dark: #000000;
JSON
{
  "hex": "#631768",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 296.296,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3686,
    "c": 0.14593,
    "h": 325.3
  },
  "luminance": 0.04265
}

Semantic roles & 50–950 ramp

primary
#631768
secondary
#439E3D
accent
#E7414B
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #631768

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

Preview Lab → · Contrast checker → · Palette generator →

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