#631D9F#631D9F

#631D9F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.7% C 0.192 H 302.9°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#631D9F
RGBrgb(99, 29, 159)
HSLhsl(272, 69%, 37%)
HSVhsv(272, 82%, 62%)
CMYKcmyk(37.7%, 81.8%, 0%, 37.6%)
CIE-LABlab(29.50, 53.60, -56.35)
CIE-LCHlch(29.50, 77.77, 313.57°)
OKLaboklab(41.68% 0.1041 -0.1609)
OKLCHoklch(41.68% 0.192 302.9)
XYZxyz(11.8415, 6.0346, 33.3351)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631D9F #599F1D
analogous
#221D9F #631D9F #9F1D9A
triadic
#631D9F #9F631D #1D9F63
tetradic
#631D9F #9F221D #599F1D #1D9A9F
square
#631D9F #9F221D #599F1D #1D9A9F
split-complementary
#631D9F #9A9F1D #1D9F22
monochromatic
#230A37 #43146B #631D9F #8326D3 #A156E0

Accessibility & contrast

On white

9.52
#631D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#631D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631D9F
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631D9F#FFFFFF#000000##FFFFFF
##631D9F1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#56415F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #631d9f;
/* rgb */ color: rgb(99, 29, 159);
/* oklch */ color: oklch(41.7% 0.192 302.9);
Tailwind
colors: {
  custom: {
    50: '#9663bc',
    500: '#631d9f',
    950: '#000000',
  },
}
SCSS
$custom: #631d9f;
$custom-light: #9663bc;
$custom-dark: #000000;
JSON
{
  "hex": "#631d9f",
  "rgb": {
    "r": 99,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 272.308,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4168,
    "c": 0.19159,
    "h": 302.9
  },
  "luminance": 0.06035
}

Semantic roles & 50–950 ramp

primary
#631D9F
secondary
#88C454
accent
#EC3C8D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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