#631E92#631E92

#631E92 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.178 H 306.9°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#631E92
RGBrgb(99, 30, 146)
HSLhsl(276, 66%, 35%)
HSVhsv(276, 79%, 57%)
CMYKcmyk(32.2%, 79.5%, 0%, 42.7%)
CIE-LABlab(28.53, 50.22, -49.97)
CIE-LCHlch(28.53, 70.84, 315.14°)
OKLaboklab(40.66% 0.1068 -0.1421)
OKLCHoklch(40.66% 0.178 306.9)
XYZxyz(10.7970, 5.6566, 27.7116)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E92 #4D921E
analogous
#291E92 #631E92 #921E87
triadic
#631E92 #92631E #1E9263
tetradic
#631E92 #92291E #4D921E #1E8792
square
#631E92 #92291E #4D921E #1E8792
split-complementary
#631E92 #87921E #1E9229
monochromatic
#1E092C #41145F #631E92 #8528C5 #A24FDB

Accessibility & contrast

On white

9.85
#631E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#631E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631E92
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E92#FFFFFF#000000##FFFFFF
##631E921.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#5B3C58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #631e92;
/* rgb */ color: rgb(99, 30, 146);
/* oklch */ color: oklch(40.7% 0.178 306.9);
Tailwind
colors: {
  custom: {
    50: '#9462b3',
    500: '#631e92',
    950: '#000000',
  },
}
SCSS
$custom: #631e92;
$custom-light: #9462b3;
$custom-dark: #000000;
JSON
{
  "hex": "#631e92",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 146
  },
  "hsl": {
    "h": 275.69,
    "s": 65.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40662,
    "c": 0.1778,
    "h": 306.9
  },
  "luminance": 0.05657
}

Semantic roles & 50–950 ramp

primary
#631E92
secondary
#7BBE4E
accent
#E93F84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #631E92

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

Preview Lab → · Contrast checker → · Palette generator →

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