#631CA9#631CA9

#631CA9 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.5% C 0.202 H 300.1°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#631CA9
RGBrgb(99, 28, 169)
HSLhsl(270, 72%, 39%)
HSVhsv(270, 83%, 66%)
CMYKcmyk(41.4%, 83.4%, 0%, 33.7%)
CIE-LABlab(30.27, 56.30, -61.13)
CIE-LCHlch(30.27, 83.11, 312.64°)
OKLaboklab(42.49% 0.1015 -0.1749)
OKLCHoklch(42.49% 0.202 300.1)
XYZxyz(12.7205, 6.3476, 38.0835)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631CA9 #62A91C
analogous
#1C1CA9 #631CA9 #A91CA8
triadic
#631CA9 #A9631C #1CA963
tetradic
#631CA9 #A91C1C #62A91C #1CA8A9
square
#631CA9 #A91C1C #62A91C #1CA8A9
split-complementary
#631CA9 #A8A91C #1CA91C
monochromatic
#250B40 #441374 #631CA9 #8227DB #A05BE4

Accessibility & contrast

On white

9.25
#631CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#631CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631CA9
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631CA9#FFFFFF#000000##FFFFFF
##631CA91.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#524565
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #631ca9;
/* rgb */ color: rgb(99, 28, 169);
/* oklch */ color: oklch(42.5% 0.202 300.1);
Tailwind
colors: {
  custom: {
    50: '#9763c4',
    500: '#631ca9',
    950: '#000000',
  },
}
SCSS
$custom: #631ca9;
$custom-light: #9763c4;
$custom-dark: #000000;
JSON
{
  "hex": "#631ca9",
  "rgb": {
    "r": 99,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 270.213,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4249,
    "c": 0.20224,
    "h": 300.1
  },
  "luminance": 0.06348
}

Semantic roles & 50–950 ramp

primary
#631CA9
secondary
#90C859
accent
#EE3993
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #631CA9

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

Preview Lab → · Contrast checker → · Palette generator →

#631CA9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva