#631FAA#631FAA

#631FAA is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.8% C 0.201 H 299.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#631FAA
RGBrgb(99, 31, 170)
HSLhsl(269, 69%, 39%)
HSVhsv(269, 82%, 67%)
CMYKcmyk(41.8%, 81.8%, 0%, 33.3%)
CIE-LABlab(30.72, 55.49, -61.00)
CIE-LCHlch(30.72, 82.46, 312.29°)
OKLaboklab(42.83% 0.0991 -0.1745)
OKLCHoklch(42.83% 0.201 299.6)
XYZxyz(12.8894, 6.5347, 38.6047)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631FAA #66AA1F
analogous
#1F20AA #631FAA #A91FAA
triadic
#631FAA #AA631F #1FAA63
tetradic
#631FAA #AA1F20 #66AA1F #1FAAA9
square
#631FAA #AA1F20 #66AA1F #1FAAA9
split-complementary
#631FAA #AAA91F #20AA1F
monochromatic
#270C42 #451676 #631FAA #812DD9 #A061E2

Accessibility & contrast

On white

9.10
#631FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#631FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631FAA
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631FAA#FFFFFF#000000##FFFFFF
##631FAA1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#524766
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #631faa;
/* rgb */ color: rgb(99, 31, 170);
/* oklch */ color: oklch(42.8% 0.201 299.6);
Tailwind
colors: {
  custom: {
    50: '#9764c4',
    500: '#631faa',
    950: '#000000',
  },
}
SCSS
$custom: #631faa;
$custom-light: #9764c4;
$custom-dark: #000000;
JSON
{
  "hex": "#631faa",
  "rgb": {
    "r": 99,
    "g": 31,
    "b": 170
  },
  "hsl": {
    "h": 269.353,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42829,
    "c": 0.20072,
    "h": 299.6
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#631FAA
secondary
#94C75E
accent
#EC3C96
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #631FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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