#631767#631767

#631767 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.8% C 0.145 H 325.8°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#631767
RGBrgb(99, 23, 103)
HSLhsl(297, 63%, 25%)
HSVhsv(297, 78%, 40%)
CMYKcmyk(3.9%, 77.7%, 0%, 59.6%)
CIE-LABlab(24.47, 43.78, -29.30)
CIE-LCHlch(24.47, 52.68, 326.21°)
OKLaboklab(36.79% 0.12 -0.0815)
OKLCHoklch(36.79% 0.145 325.8)
XYZxyz(7.9000, 4.2452, 13.2326)
Luminance0.0425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631767 #1B6717
analogous
#3B1767 #631767 #671743
triadic
#631767 #676317 #176763
tetradic
#631767 #673B17 #1B6717 #174367
square
#631767 #673B17 #1B6717 #174367
split-complementary
#631767 #436717 #17673B
monochromatic
#180619 #330C35 #631767 #932299 #C32DCB

Accessibility & contrast

On white

11.36
#631767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631767
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631767#FFFFFF#000000##FFFFFF
##6317671.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013469
Deuteranopia (green-blind)
#293D65
Tritanopia (blue-blind)
#66253E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #631767;
/* rgb */ color: rgb(99, 23, 103);
/* oklch */ color: oklch(36.8% 0.145 325.8);
Tailwind
colors: {
  custom: {
    50: '#925d93',
    500: '#631767',
    950: '#000000',
  },
}
SCSS
$custom: #631767;
$custom-light: #925d93;
$custom-dark: #000000;
JSON
{
  "hex": "#631767",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 297,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.36794,
    "c": 0.14506,
    "h": 325.8
  },
  "luminance": 0.04245
}

Semantic roles & 50–950 ramp

primary
#631767
secondary
#419D3D
accent
#E7414A
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #631767

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

Preview Lab → · Contrast checker → · Palette generator →

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