#631A8A#631A8A

#631A8A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.174 H 310.1°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#631A8A
RGBrgb(99, 26, 138)
HSLhsl(279, 68%, 32%)
HSVhsv(279, 81%, 54%)
CMYKcmyk(28.3%, 81.2%, 0%, 45.9%)
CIE-LABlab(27.37, 49.90, -46.90)
CIE-LCHlch(27.37, 68.47, 316.77°)
OKLaboklab(39.65% 0.1122 -0.1331)
OKLCHoklch(39.65% 0.174 310.1)
XYZxyz(10.1015, 5.2266, 24.5165)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631A8A #418A1A
analogous
#2B1A8A #631A8A #8A1A79
triadic
#631A8A #8A631A #1A8A63
tetradic
#631A8A #8A2B1A #418A1A #1A798A
square
#631A8A #8A2B1A #418A1A #1A798A
split-complementary
#631A8A #798A1A #1A8A2B
monochromatic
#190723 #3E1057 #631A8A #8824BD #A643DC

Accessibility & contrast

On white

10.27
#631A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#631A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631A8A
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631A8A#FFFFFF#000000##FFFFFF
##631A8A1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#5D3652
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #631a8a;
/* rgb */ color: rgb(99, 26, 138);
/* oklch */ color: oklch(39.6% 0.174 310.1);
Tailwind
colors: {
  custom: {
    50: '#9460ad',
    500: '#631a8a',
    950: '#000000',
  },
}
SCSS
$custom: #631a8a;
$custom-light: #9460ad;
$custom-dark: #000000;
JSON
{
  "hex": "#631a8a",
  "rgb": {
    "r": 99,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 279.107,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39649,
    "c": 0.17404,
    "h": 310.1
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

primary
#631A8A
secondary
#6DBD43
accent
#EB3D79
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #631A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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