#631181#631181

#631181 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.2% C 0.174 H 314.2°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#631181
RGBrgb(99, 17, 129)
HSLhsl(284, 77%, 29%)
HSVhsv(284, 87%, 51%)
CMYKcmyk(23.3%, 86.8%, 0%, 49.4%)
CIE-LABlab(25.68, 50.81, -44.00)
CIE-LCHlch(25.68, 67.21, 319.11°)
OKLaboklab(38.24% 0.1212 -0.1245)
OKLCHoklch(38.24% 0.174 314.2)
XYZxyz(9.3078, 4.6389, 21.1697)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631181 #2F8111
analogous
#2B1181 #631181 #811167
triadic
#631181 #816311 #118163
tetradic
#631181 #812B11 #2F8111 #116781
square
#631181 #812B11 #2F8111 #116781
split-complementary
#631181 #678111 #11812B
monochromatic
#15041B #3A0A4B #631181 #8C18B7 #B12AE3

Accessibility & contrast

On white

10.89
#631181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#631181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631181
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631181#FFFFFF#000000##FFFFFF
##6311811.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003984
Deuteranopia (green-blind)
#023F7F
Tritanopia (blue-blind)
#602E4B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #631181;
/* rgb */ color: rgb(99, 17, 129);
/* oklch */ color: oklch(38.2% 0.174 314.2);
Tailwind
colors: {
  custom: {
    50: '#945ca6',
    500: '#631181',
    950: '#000000',
  },
}
SCSS
$custom: #631181;
$custom-light: #945ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#631181",
  "rgb": {
    "r": 99,
    "g": 17,
    "b": 129
  },
  "hsl": {
    "h": 283.929,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38242,
    "c": 0.17374,
    "h": 314.2
  },
  "luminance": 0.04639
}

Semantic roles & 50–950 ramp

primary
#631181
secondary
#59B737
accent
#F33568
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #631181

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

Preview Lab → · Contrast checker → · Palette generator →

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