#631666#631666

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

Color values

HEX#631666
RGBrgb(99, 22, 102)
HSLhsl(298, 65%, 24%)
HSVhsv(298, 78%, 40%)
CMYKcmyk(2.9%, 78.4%, 0%, 60%)
CIE-LABlab(24.28, 43.95, -28.94)
CIE-LCHlch(24.28, 52.63, 326.63°)
OKLaboklab(36.64% 0.121 -0.0804)
OKLCHoklch(36.64% 0.145 326.4)
XYZxyz(7.8306, 4.1863, 12.9634)
Luminance0.0419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631666 #196616
analogous
#3B1666 #631666 #661641
triadic
#631666 #666316 #166663
tetradic
#631666 #663B16 #196616 #164166
square
#631666 #663B16 #196616 #164166
split-complementary
#631666 #416616 #16663B
monochromatic
#180519 #320B34 #631666 #942198 #C52CCB

Accessibility & contrast

On white

11.43
#631666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#631666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631666
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631666#FFFFFF#000000##FFFFFF
##6316661.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013468
Deuteranopia (green-blind)
#293D64
Tritanopia (blue-blind)
#66243D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #631666;
/* rgb */ color: rgb(99, 22, 102);
/* oklch */ color: oklch(36.6% 0.145 326.4);
Tailwind
colors: {
  custom: {
    50: '#925d92',
    500: '#631666',
    950: '#000000',
  },
}
SCSS
$custom: #631666;
$custom-light: #925d92;
$custom-dark: #000000;
JSON
{
  "hex": "#631666",
  "rgb": {
    "r": 99,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 297.75,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.36639,
    "c": 0.14533,
    "h": 326.4
  },
  "luminance": 0.04186
}

Semantic roles & 50–950 ramp

primary
#631666
secondary
#3F9D3B
accent
#E84047
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #631666

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

Preview Lab → · Contrast checker → · Palette generator →

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