#631B95#631B95

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

Color values

HEX#631B95
RGBrgb(99, 27, 149)
HSLhsl(275, 69%, 35%)
HSVhsv(275, 82%, 58%)
CMYKcmyk(33.6%, 81.9%, 0%, 41.6%)
CIE-LABlab(28.40, 52.01, -52.03)
CIE-LCHlch(28.40, 73.57, 314.99°)
OKLaboklab(40.65% 0.1085 -0.1482)
OKLCHoklch(40.65% 0.184 306.2)
XYZxyz(10.9611, 5.6065, 28.9327)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631B95 #4D951B
analogous
#261B95 #631B95 #951B8A
triadic
#631B95 #95631B #1B9563
tetradic
#631B95 #95261B #4D951B #1B8A95
square
#631B95 #95261B #4D951B #1B8A95
split-complementary
#631B95 #8A951B #1B9526
monochromatic
#1E082D #411261 #631B95 #8524C9 #A24CDF

Accessibility & contrast

On white

9.90
#631B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#631B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631B95
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631B95#FFFFFF#000000##FFFFFF
##631B951.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#5A3C59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #631b95;
/* rgb */ color: rgb(99, 27, 149);
/* oklch */ color: oklch(40.6% 0.184 306.2);
Tailwind
colors: {
  custom: {
    50: '#9561b5',
    500: '#631b95',
    950: '#000000',
  },
}
SCSS
$custom: #631b95;
$custom-light: #9561b5;
$custom-dark: #000000;
JSON
{
  "hex": "#631b95",
  "rgb": {
    "r": 99,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 275.41,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40648,
    "c": 0.18366,
    "h": 306.2
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#631B95
secondary
#7BC14B
accent
#EC3C84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631B95

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

Preview Lab → · Contrast checker → · Palette generator →

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