#631180#631180

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

Color values

HEX#631180
RGBrgb(99, 17, 128)
HSLhsl(284, 77%, 28%)
HSVhsv(284, 87%, 50%)
CMYKcmyk(22.7%, 86.7%, 0%, 49.8%)
CIE-LABlab(25.60, 50.61, -43.50)
CIE-LCHlch(25.60, 66.73, 319.32°)
OKLaboklab(38.16% 0.1214 -0.123)
OKLCHoklch(38.16% 0.173 314.6)
XYZxyz(9.2417, 4.6124, 20.8214)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631180 #2E8011
analogous
#2B1180 #631180 #801165
triadic
#631180 #806311 #118063
tetradic
#631180 #802B11 #2E8011 #116580
square
#631180 #802B11 #2E8011 #116580
split-complementary
#631180 #658011 #11802B
monochromatic
#15041B #390A4A #631180 #8D18B6 #B229E3

Accessibility & contrast

On white

10.92
#631180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#631180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631180
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631180#FFFFFF#000000##FFFFFF
##6311801.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#053F7E
Tritanopia (blue-blind)
#602E4B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #631180;
/* rgb */ color: rgb(99, 17, 128);
/* oklch */ color: oklch(38.2% 0.173 314.6);
Tailwind
colors: {
  custom: {
    50: '#945ca6',
    500: '#631180',
    950: '#000000',
  },
}
SCSS
$custom: #631180;
$custom-light: #945ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#631180",
  "rgb": {
    "r": 99,
    "g": 17,
    "b": 128
  },
  "hsl": {
    "h": 284.324,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38162,
    "c": 0.17286,
    "h": 314.6
  },
  "luminance": 0.04612
}

Semantic roles & 50–950 ramp

primary
#631180
secondary
#58B637
accent
#F33566
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #631180

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

Preview Lab → · Contrast checker → · Palette generator →

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