#631166#631166

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

Color values

HEX#631166
RGBrgb(99, 17, 102)
HSLhsl(298, 71%, 23%)
HSVhsv(298, 83%, 40%)
CMYKcmyk(2.9%, 83.3%, 0%, 60%)
CIE-LABlab(23.72, 45.57, -29.84)
CIE-LCHlch(23.72, 54.47, 326.78°)
OKLaboklab(36.24% 0.1256 -0.083)
OKLCHoklch(36.24% 0.151 326.5)
XYZxyz(7.7442, 4.0134, 12.9346)
Luminance0.0401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631166 #146611
analogous
#381166 #631166 #66113E
triadic
#631166 #666311 #116663
tetradic
#631166 #663811 #146611 #113E66
square
#631166 #663811 #146611 #113E66
split-complementary
#631166 #3E6611 #116638
monochromatic
#19041A #300832 #631166 #961A9A #C922CF

Accessibility & contrast

On white

11.65
#631166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#631166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631166
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631166#FFFFFF#000000##FFFFFF
##6311661.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#273C64
Tritanopia (blue-blind)
#66213C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #631166;
/* rgb */ color: rgb(99, 17, 102);
/* oklch */ color: oklch(36.2% 0.151 326.5);
Tailwind
colors: {
  custom: {
    50: '#935b92',
    500: '#631166',
    950: '#000000',
  },
}
SCSS
$custom: #631166;
$custom-light: #935b92;
$custom-dark: #000000;
JSON
{
  "hex": "#631166",
  "rgb": {
    "r": 99,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 297.882,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.36239,
    "c": 0.15053,
    "h": 326.5
  },
  "luminance": 0.04013
}

Semantic roles & 50–950 ramp

primary
#631166
secondary
#389E35
accent
#EE3A40
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #631166

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

Preview Lab → · Contrast checker → · Palette generator →

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