#631EA9#631EA9

#631EA9 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.7% C 0.201 H 300.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#631EA9
RGBrgb(99, 30, 169)
HSLhsl(270, 70%, 39%)
HSVhsv(270, 82%, 66%)
CMYKcmyk(41.4%, 82.2%, 0%, 33.7%)
CIE-LABlab(30.51, 55.61, -60.74)
CIE-LCHlch(30.51, 82.36, 312.47°)
OKLaboklab(42.65% 0.1002 -0.1738)
OKLCHoklch(42.65% 0.201 300)
XYZxyz(12.7695, 6.4456, 38.0998)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631EA9 #64A91E
analogous
#1E1FA9 #631EA9 #A91EA9
triadic
#631EA9 #A9631E #1EA963
tetradic
#631EA9 #A91E1F #64A91E #1EA9A9
square
#631EA9 #A91E1F #64A91E #1EA9A9
split-complementary
#631EA9 #A9A91E #1FA91E
monochromatic
#260C41 #451575 #631EA9 #812BD9 #A05FE3

Accessibility & contrast

On white

9.17
#631EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#631EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631EA9
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631EA9#FFFFFF#000000##FFFFFF
##631EA91.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#524665
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #631ea9;
/* rgb */ color: rgb(99, 30, 169);
/* oklch */ color: oklch(42.7% 0.201 300.0);
Tailwind
colors: {
  custom: {
    50: '#9764c4',
    500: '#631ea9',
    950: '#000000',
  },
}
SCSS
$custom: #631ea9;
$custom-light: #9764c4;
$custom-dark: #000000;
JSON
{
  "hex": "#631ea9",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 269.784,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42654,
    "c": 0.20058,
    "h": 300
  },
  "luminance": 0.06446
}

Semantic roles & 50–950 ramp

primary
#631EA9
secondary
#92C75C
accent
#ED3B95
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #631EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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