#631766#631766

#631766 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.7% C 0.144 H 326.4°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#631766
RGBrgb(99, 23, 102)
HSLhsl(298, 63%, 25%)
HSVhsv(298, 77%, 40%)
CMYKcmyk(2.9%, 77.5%, 0%, 60%)
CIE-LABlab(24.40, 43.60, -28.75)
CIE-LCHlch(24.40, 52.22, 326.60°)
OKLaboklab(36.73% 0.1201 -0.0799)
OKLCHoklch(36.73% 0.144 326.4)
XYZxyz(7.8501, 4.2253, 12.9699)
Luminance0.0423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631766 #1A6617
analogous
#3C1766 #631766 #661741
triadic
#631766 #666317 #176663
tetradic
#631766 #663C17 #1A6617 #174166
square
#631766 #663C17 #1A6617 #174166
split-complementary
#631766 #416617 #17663C
monochromatic
#180619 #330C34 #631766 #932298 #C42ECA

Accessibility & contrast

On white

11.38
#631766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631766
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631766#FFFFFF#000000##FFFFFF
##6317661.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033468
Deuteranopia (green-blind)
#2A3D64
Tritanopia (blue-blind)
#66243D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #631766;
/* rgb */ color: rgb(99, 23, 102);
/* oklch */ color: oklch(36.7% 0.144 326.4);
Tailwind
colors: {
  custom: {
    50: '#925d92',
    500: '#631766',
    950: '#000000',
  },
}
SCSS
$custom: #631766;
$custom-light: #925d92;
$custom-dark: #000000;
JSON
{
  "hex": "#631766",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 102
  },
  "hsl": {
    "h": 297.722,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.36728,
    "c": 0.14419,
    "h": 326.4
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

primary
#631766
secondary
#409C3C
accent
#E64248
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #631766

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

Preview Lab → · Contrast checker → · Palette generator →

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