#631CB3#631CB3

#631CB3 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.4% C 0.212 H 297.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#631CB3
RGBrgb(99, 28, 179)
HSLhsl(268, 73%, 41%)
HSVhsv(268, 84%, 70%)
CMYKcmyk(44.7%, 84.4%, 0%, 29.8%)
CIE-LABlab(31.20, 58.67, -65.60)
CIE-LCHlch(31.20, 88.01, 311.81°)
OKLaboklab(43.41% 0.098 -0.188)
OKLCHoklch(43.41% 0.212 297.5)
XYZxyz(13.6954, 6.7376, 43.2180)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631CB3 #6CB31C
analogous
#1C20B3 #631CB3 #AE1CB3
triadic
#631CB3 #B3631C #1CB363
tetradic
#631CB3 #B31C20 #6CB31C #1CB3AE
square
#631CB3 #B31C20 #6CB31C #1CB3AE
split-complementary
#631CB3 #B3AE1C #20B31C
monochromatic
#280B49 #46147E #631CB3 #812EDE #A163E7

Accessibility & contrast

On white

8.95
#631CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#631CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631CB3
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631CB3#FFFFFF#000000##FFFFFF
##631CB31.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631cb3;
/* rgb */ color: rgb(99, 28, 179);
/* oklch */ color: oklch(43.4% 0.212 297.5);
Tailwind
colors: {
  custom: {
    50: '#9864cb',
    500: '#631cb3',
    950: '#000000',
  },
}
SCSS
$custom: #631cb3;
$custom-light: #9864cb;
$custom-dark: #000000;
JSON
{
  "hex": "#631cb3",
  "rgb": {
    "r": 99,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 268.212,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43413,
    "c": 0.21203,
    "h": 297.5
  },
  "luminance": 0.06738
}

Semantic roles & 50–950 ramp

primary
#631CB3
secondary
#99CB5F
accent
#F03899
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #631CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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