#631895#631895

#631895 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.4% C 0.186 H 306.5°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#631895
RGBrgb(99, 24, 149)
HSLhsl(276, 72%, 34%)
HSVhsv(276, 84%, 58%)
CMYKcmyk(33.6%, 83.9%, 0%, 41.6%)
CIE-LABlab(28.05, 53.02, -52.60)
CIE-LCHlch(28.05, 74.68, 315.23°)
OKLaboklab(40.41% 0.1107 -0.1498)
OKLCHoklch(40.41% 0.186 306.5)
XYZxyz(10.8958, 5.4760, 28.9109)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631895 #4A9518
analogous
#251895 #631895 #951889
triadic
#631895 #956318 #189563
tetradic
#631895 #952518 #4A9518 #188995
square
#631895 #952518 #4A9518 #188995
split-complementary
#631895 #899518 #189525
monochromatic
#1D072C #401060 #631895 #8620CA #A346E1

Accessibility & contrast

On white

10.02
#631895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#631895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631895
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631895#FFFFFF#000000##FFFFFF
##6318951.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#5A3B58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631895;
/* rgb */ color: rgb(99, 24, 149);
/* oklch */ color: oklch(40.4% 0.186 306.5);
Tailwind
colors: {
  custom: {
    50: '#9560b5',
    500: '#631895',
    950: '#000000',
  },
}
SCSS
$custom: #631895;
$custom-light: #9560b5;
$custom-dark: #000000;
JSON
{
  "hex": "#631895",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 276,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40406,
    "c": 0.1863,
    "h": 306.5
  },
  "luminance": 0.05476
}

Semantic roles & 50–950 ramp

primary
#631895
secondary
#78C246
accent
#EF3982
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631895

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

Preview Lab → · Contrast checker → · Palette generator →

#631895 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva