#631F90#631F90

#631F90 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.175 H 307.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#631F90
RGBrgb(99, 31, 144)
HSLhsl(276, 65%, 34%)
HSVhsv(276, 78%, 56%)
CMYKcmyk(31.3%, 78.5%, 0%, 43.5%)
CIE-LABlab(28.50, 49.37, -48.78)
CIE-LCHlch(28.50, 69.40, 315.34°)
OKLaboklab(40.59% 0.1064 -0.1386)
OKLCHoklch(40.59% 0.175 307.5)
XYZxyz(10.6685, 5.6464, 26.9080)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631F90 #4C901F
analogous
#2B1F90 #631F90 #901F85
triadic
#631F90 #90631F #1F9063
tetradic
#631F90 #902B1F #4C901F #1F8590
square
#631F90 #902B1F #4C901F #1F8590
split-complementary
#631F90 #85901F #1F902B
monochromatic
#1E092B #40145E #631F90 #862AC2 #A350D9

Accessibility & contrast

On white

9.86
#631F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631F90
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631F90#FFFFFF#000000##FFFFFF
##631F901.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#5B3B57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #631f90;
/* rgb */ color: rgb(99, 31, 144);
/* oklch */ color: oklch(40.6% 0.175 307.5);
Tailwind
colors: {
  custom: {
    50: '#9463b1',
    500: '#631f90',
    950: '#000000',
  },
}
SCSS
$custom: #631f90;
$custom-light: #9463b1;
$custom-dark: #000000;
JSON
{
  "hex": "#631f90",
  "rgb": {
    "r": 99,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 276.106,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40593,
    "c": 0.17478,
    "h": 307.5
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

primary
#631F90
secondary
#7ABC4E
accent
#E84083
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #631F90

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

Preview Lab → · Contrast checker → · Palette generator →

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