#631E9F#631E9F

#631E9F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.191 H 302.8°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#631E9F
RGBrgb(99, 30, 159)
HSLhsl(272, 68%, 37%)
HSVhsv(272, 81%, 62%)
CMYKcmyk(37.7%, 81.1%, 0%, 37.6%)
CIE-LABlab(29.62, 53.24, -56.14)
CIE-LCHlch(29.62, 77.37, 313.48°)
OKLaboklab(41.77% 0.1033 -0.1603)
OKLCHoklch(41.77% 0.191 302.8)
XYZxyz(11.8664, 6.0844, 33.3434)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631E9F #5A9F1E
analogous
#231E9F #631E9F #9F1E9B
triadic
#631E9F #9F631E #1E9F63
tetradic
#631E9F #9F231E #5A9F1E #1E9B9F
square
#631E9F #9F231E #5A9F1E #1E9B9F
split-complementary
#631E9F #9B9F1E #1E9F23
monochromatic
#230B38 #43146C #631E9F #8328D2 #A058DF

Accessibility & contrast

On white

9.47
#631E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#631E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631E9F
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631E9F#FFFFFF#000000##FFFFFF
##631E9F1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631e9f;
/* rgb */ color: rgb(99, 30, 159);
/* oklch */ color: oklch(41.8% 0.191 302.8);
Tailwind
colors: {
  custom: {
    50: '#9663bc',
    500: '#631e9f',
    950: '#000000',
  },
}
SCSS
$custom: #631e9f;
$custom-light: #9663bc;
$custom-dark: #000000;
JSON
{
  "hex": "#631e9f",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 272.093,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41767,
    "c": 0.19067,
    "h": 302.8
  },
  "luminance": 0.06084
}

Semantic roles & 50–950 ramp

primary
#631E9F
secondary
#89C356
accent
#EB3D8E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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