#631167#631167

#631167 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.3% C 0.151 H 326.0°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#631167
RGBrgb(99, 17, 103)
HSLhsl(297, 72%, 24%)
HSVhsv(297, 83%, 40%)
CMYKcmyk(3.9%, 83.5%, 0%, 59.6%)
CIE-LABlab(23.78, 45.75, -30.39)
CIE-LCHlch(23.78, 54.93, 326.41°)
OKLaboklab(36.31% 0.1255 -0.0846)
OKLCHoklch(36.31% 0.151 326)
XYZxyz(7.7941, 4.0334, 13.1973)
Luminance0.0403 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631167 #156711
analogous
#381167 #631167 #671140
triadic
#631167 #676311 #116763
tetradic
#631167 #673811 #156711 #114067
square
#631167 #673811 #156711 #114067
split-complementary
#631167 #406711 #116738
monochromatic
#19041A #310832 #631167 #951A9C #C822D0

Accessibility & contrast

On white

11.62
#631167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#631167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631167
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631167#FFFFFF#000000##FFFFFF
##6311671.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#263C65
Tritanopia (blue-blind)
#66213C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #631167;
/* rgb */ color: rgb(99, 17, 103);
/* oklch */ color: oklch(36.3% 0.151 326.0);
Tailwind
colors: {
  custom: {
    50: '#935b93',
    500: '#631167',
    950: '#000000',
  },
}
SCSS
$custom: #631167;
$custom-light: #935b93;
$custom-dark: #000000;
JSON
{
  "hex": "#631167",
  "rgb": {
    "r": 99,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 297.209,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.36306,
    "c": 0.15136,
    "h": 326
  },
  "luminance": 0.04033
}

Semantic roles & 50–950 ramp

primary
#631167
secondary
#3A9F35
accent
#EE3942
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #631167

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

Preview Lab → · Contrast checker → · Palette generator →

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