#631678#631678

#631678 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.9% C 0.161 H 317.7°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#631678
RGBrgb(99, 22, 120)
HSLhsl(287, 69%, 28%)
HSVhsv(287, 82%, 47%)
CMYKcmyk(17.5%, 81.7%, 0%, 52.9%)
CIE-LABlab(25.51, 47.46, -38.57)
CIE-LCHlch(25.51, 61.15, 320.90°)
OKLaboklab(37.91% 0.1192 -0.1086)
OKLCHoklch(37.91% 0.161 317.7)
XYZxyz(8.8222, 4.5829, 18.1855)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631678 #2B7816
analogous
#321678 #631678 #78165C
triadic
#631678 #786316 #167863
tetradic
#631678 #783216 #2B7816 #165C78
square
#631678 #783216 #2B7816 #165C78
split-complementary
#631678 #5C7816 #167832
monochromatic
#15051A #380D44 #631678 #8E1FAC #B52FD9

Accessibility & contrast

On white

10.96
#631678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#631678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631678
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631678#FFFFFF#000000##FFFFFF
##6316781.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387B
Deuteranopia (green-blind)
#193F76
Tritanopia (blue-blind)
#622C47
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #631678;
/* rgb */ color: rgb(99, 22, 120);
/* oklch */ color: oklch(37.9% 0.161 317.7);
Tailwind
colors: {
  custom: {
    50: '#935ea0',
    500: '#631678',
    950: '#000000',
  },
}
SCSS
$custom: #631678;
$custom-light: #935ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#631678",
  "rgb": {
    "r": 99,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 287.143,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37908,
    "c": 0.16126,
    "h": 317.7
  },
  "luminance": 0.04583
}

Semantic roles & 50–950 ramp

primary
#631678
secondary
#55AD3C
accent
#EC3C62
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #631678

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

Preview Lab → · Contrast checker → · Palette generator →

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