#631772#631772

#631772 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.6% C 0.155 H 320.3°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#631772
RGBrgb(99, 23, 114)
HSLhsl(290, 66%, 27%)
HSVhsv(290, 80%, 45%)
CMYKcmyk(13.2%, 79.8%, 0%, 55.3%)
CIE-LABlab(25.20, 45.91, -35.23)
CIE-LCHlch(25.20, 57.87, 322.49°)
OKLaboklab(37.55% 0.1192 -0.0988)
OKLCHoklch(37.55% 0.155 320.3)
XYZxyz(8.4889, 4.4808, 16.3341)
Luminance0.0448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631772 #267217
analogous
#361772 #631772 #721754
triadic
#631772 #726317 #177263
tetradic
#631772 #723617 #267217 #175472
square
#631772 #723617 #267217 #175472
split-complementary
#631772 #547217 #177236
monochromatic
#160519 #370D3F #631772 #8F21A5 #B92ED5

Accessibility & contrast

On white

11.08
#631772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#631772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631772
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631772#FFFFFF#000000##FFFFFF
##6317721.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#213E70
Tritanopia (blue-blind)
#632A44
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #631772;
/* rgb */ color: rgb(99, 23, 114);
/* oklch */ color: oklch(37.6% 0.155 320.3);
Tailwind
colors: {
  custom: {
    50: '#935e9b',
    500: '#631772',
    950: '#000000',
  },
}
SCSS
$custom: #631772;
$custom-light: #935e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#631772",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 290.11,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.37552,
    "c": 0.15481,
    "h": 320.3
  },
  "luminance": 0.0448
}

Semantic roles & 50–950 ramp

primary
#631772
secondary
#4FA83D
accent
#E93E5B
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631772

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

Preview Lab → · Contrast checker → · Palette generator →

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