#631671#631671

#631671 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.4% C 0.155 H 320.9°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#631671
RGBrgb(99, 22, 113)
HSLhsl(291, 67%, 26%)
HSVhsv(291, 81%, 44%)
CMYKcmyk(12.4%, 80.5%, 0%, 55.7%)
CIE-LABlab(25.01, 46.05, -34.90)
CIE-LCHlch(25.01, 57.78, 322.85°)
OKLaboklab(37.4% 0.1202 -0.0978)
OKLCHoklch(37.4% 0.155 320.9)
XYZxyz(8.4128, 4.4192, 16.0294)
Luminance0.0442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631671 #247116
analogous
#361671 #631671 #711652
triadic
#631671 #716316 #167163
tetradic
#631671 #713616 #247116 #165271
square
#631671 #713616 #247116 #165271
split-complementary
#631671 #527116 #167136
monochromatic
#16051A #360C3E #631671 #9020A4 #BC2CD6

Accessibility & contrast

On white

11.15
#631671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#631671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631671
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631671#FFFFFF#000000##FFFFFF
##6316711.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#213E6F
Tritanopia (blue-blind)
#642943
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #631671;
/* rgb */ color: rgb(99, 22, 113);
/* oklch */ color: oklch(37.4% 0.155 320.9);
Tailwind
colors: {
  custom: {
    50: '#935d9a',
    500: '#631671',
    950: '#000000',
  },
}
SCSS
$custom: #631671;
$custom-light: #935d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#631671",
  "rgb": {
    "r": 99,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 290.769,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.37395,
    "c": 0.15498,
    "h": 320.9
  },
  "luminance": 0.04419
}

Semantic roles & 50–950 ramp

primary
#631671
secondary
#4CA73C
accent
#EA3E58
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631671

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

Preview Lab → · Contrast checker → · Palette generator →

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