#631DB3#631DB3

#631DB3 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.5% C 0.211 H 297.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#631DB3
RGBrgb(99, 29, 179)
HSLhsl(268, 72%, 41%)
HSVhsv(268, 84%, 70%)
CMYKcmyk(44.7%, 83.8%, 0%, 29.8%)
CIE-LABlab(31.31, 58.34, -65.42)
CIE-LCHlch(31.31, 87.65, 311.73°)
OKLaboklab(43.49% 0.0974 -0.1875)
OKLCHoklch(43.49% 0.211 297.5)
XYZxyz(13.7195, 6.7858, 43.2260)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631DB3 #6DB31D
analogous
#1D22B3 #631DB3 #AE1DB3
triadic
#631DB3 #B3631D #1DB363
tetradic
#631DB3 #B31D22 #6DB31D #1DB3AE
square
#631DB3 #B31D22 #6DB31D #1DB3AE
split-complementary
#631DB3 #B3AE1D #22B31D
monochromatic
#290C4A #46147E #631DB3 #8130DD #A164E6

Accessibility & contrast

On white

8.91
#631DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#631DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631DB3
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631DB3#FFFFFF#000000##FFFFFF
##631DB31.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#4D4A6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #631db3;
/* rgb */ color: rgb(99, 29, 179);
/* oklch */ color: oklch(43.5% 0.211 297.5);
Tailwind
colors: {
  custom: {
    50: '#9864cb',
    500: '#631db3',
    950: '#000000',
  },
}
SCSS
$custom: #631db3;
$custom-light: #9864cb;
$custom-dark: #000000;
JSON
{
  "hex": "#631db3",
  "rgb": {
    "r": 99,
    "g": 29,
    "b": 179
  },
  "hsl": {
    "h": 268,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4349,
    "c": 0.21126,
    "h": 297.5
  },
  "luminance": 0.06786
}

Semantic roles & 50–950 ramp

primary
#631DB3
secondary
#99CB61
accent
#EF399A
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #631DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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