#631699#631699

#631699 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.6% C 0.192 H 305.3°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#631699
RGBrgb(99, 22, 153)
HSLhsl(275, 75%, 34%)
HSVhsv(275, 86%, 60%)
CMYKcmyk(35.3%, 85.6%, 0%, 40%)
CIE-LABlab(28.18, 54.54, -54.83)
CIE-LCHlch(28.18, 77.34, 314.84°)
OKLaboklab(40.61% 0.1109 -0.1564)
OKLCHoklch(40.61% 0.192 305.3)
XYZxyz(11.1810, 5.5265, 30.6085)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631699 #4C9916
analogous
#211699 #631699 #99168E
triadic
#631699 #996316 #169963
tetradic
#631699 #992116 #4C9916 #168E99
square
#631699 #992116 #4C9916 #168E99
split-complementary
#631699 #8E9916 #169921
monochromatic
#1E072E #400E63 #631699 #861ECF #A345E4

Accessibility & contrast

On white

9.98
#631699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#631699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631699
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631699#FFFFFF#000000##FFFFFF
##6316991.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#593C5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631699;
/* rgb */ color: rgb(99, 22, 153);
/* oklch */ color: oklch(40.6% 0.192 305.3);
Tailwind
colors: {
  custom: {
    50: '#9560b8',
    500: '#631699',
    950: '#000000',
  },
}
SCSS
$custom: #631699;
$custom-light: #9560b8;
$custom-dark: #000000;
JSON
{
  "hex": "#631699",
  "rgb": {
    "r": 99,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 275.267,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40607,
    "c": 0.19167,
    "h": 305.3
  },
  "luminance": 0.05526
}

Semantic roles & 50–950 ramp

primary
#631699
secondary
#7AC546
accent
#F13683
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631699

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

Preview Lab → · Contrast checker → · Palette generator →

#631699 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva