#631EA6#631EA6

#631EA6 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.4% C 0.198 H 300.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#631EA6
RGBrgb(99, 30, 166)
HSLhsl(270, 69%, 38%)
HSVhsv(270, 82%, 65%)
CMYKcmyk(40.4%, 81.9%, 0%, 34.9%)
CIE-LABlab(30.24, 54.90, -59.38)
CIE-LCHlch(30.24, 80.87, 312.75°)
OKLaboklab(42.39% 0.1011 -0.1698)
OKLCHoklch(42.39% 0.198 300.8)
XYZxyz(12.4911, 6.3343, 36.6335)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631EA6 #61A61E
analogous
#1F1EA6 #631EA6 #A61EA5
triadic
#631EA6 #A6631E #1EA663
tetradic
#631EA6 #A61F1E #61A61E #1EA5A6
square
#631EA6 #A61F1E #61A61E #1EA5A6
split-complementary
#631EA6 #A5A61E #1EA61F
monochromatic
#250B3E #441572 #631EA6 #8229D8 #A05DE2

Accessibility & contrast

On white

9.26
#631EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#631EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631EA6
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631EA6#FFFFFF#000000##FFFFFF
##631EA61.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#534463
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #631ea6;
/* rgb */ color: rgb(99, 30, 166);
/* oklch */ color: oklch(42.4% 0.198 300.8);
Tailwind
colors: {
  custom: {
    50: '#9664c1',
    500: '#631ea6',
    950: '#000000',
  },
}
SCSS
$custom: #631ea6;
$custom-light: #9664c1;
$custom-dark: #000000;
JSON
{
  "hex": "#631ea6",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 270.441,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42385,
    "c": 0.19761,
    "h": 300.8
  },
  "luminance": 0.06334
}

Semantic roles & 50–950 ramp

primary
#631EA6
secondary
#8FC65A
accent
#EC3C93
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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