#631774#631774

#631774 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.7% C 0.157 H 319.4°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#631774
RGBrgb(99, 23, 116)
HSLhsl(289, 67%, 27%)
HSVhsv(289, 80%, 45%)
CMYKcmyk(14.7%, 80.2%, 0%, 54.5%)
CIE-LABlab(25.34, 46.31, -36.29)
CIE-LCHlch(25.34, 58.83, 321.92°)
OKLaboklab(37.7% 0.1189 -0.1019)
OKLCHoklch(37.7% 0.157 319.4)
XYZxyz(8.6040, 4.5268, 16.9402)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631774 #287417
analogous
#341774 #631774 #741757
triadic
#631774 #746317 #177463
tetradic
#631774 #743417 #287417 #175774
square
#631774 #743417 #287417 #175774
split-complementary
#631774 #577417 #177434
monochromatic
#16051A #370D41 #631774 #8F21A7 #B730D6

Accessibility & contrast

On white

11.02
#631774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#631774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631774
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631774#FFFFFF#000000##FFFFFF
##6317741.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#1F3F72
Tritanopia (blue-blind)
#632B45
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #631774;
/* rgb */ color: rgb(99, 23, 116);
/* oklch */ color: oklch(37.7% 0.157 319.4);
Tailwind
colors: {
  custom: {
    50: '#935e9c',
    500: '#631774',
    950: '#000000',
  },
}
SCSS
$custom: #631774;
$custom-light: #935e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#631774",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 289.032,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.37696,
    "c": 0.15662,
    "h": 319.4
  },
  "luminance": 0.04526
}

Semantic roles & 50–950 ramp

primary
#631774
secondary
#51A93D
accent
#EA3E5D
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631774

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

Preview Lab → · Contrast checker → · Palette generator →

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