#631C92#631C92

#631C92 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.180 H 307.1°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#631C92
RGBrgb(99, 28, 146)
HSLhsl(276, 68%, 34%)
HSVhsv(276, 81%, 57%)
CMYKcmyk(32.2%, 80.8%, 0%, 42.7%)
CIE-LABlab(28.27, 50.97, -50.39)
CIE-LCHlch(28.27, 71.67, 315.32°)
OKLaboklab(40.48% 0.1085 -0.1434)
OKLCHoklch(40.48% 0.18 307.1)
XYZxyz(10.7480, 5.5586, 27.6953)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631C92 #4B921C
analogous
#281C92 #631C92 #921C86
triadic
#631C92 #92631C #1C9263
tetradic
#631C92 #92281C #4B921C #1C8692
square
#631C92 #92281C #4B921C #1C8692
split-complementary
#631C92 #86921C #1C9228
monochromatic
#1D082B #40125F #631C92 #8626C5 #A34CDD

Accessibility & contrast

On white

9.95
#631C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#631C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631C92
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631C92#FFFFFF#000000##FFFFFF
##631C921.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#5B3B57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #631c92;
/* rgb */ color: rgb(99, 28, 146);
/* oklch */ color: oklch(40.5% 0.180 307.1);
Tailwind
colors: {
  custom: {
    50: '#9462b3',
    500: '#631c92',
    950: '#000000',
  },
}
SCSS
$custom: #631c92;
$custom-light: #9462b3;
$custom-dark: #000000;
JSON
{
  "hex": "#631c92",
  "rgb": {
    "r": 99,
    "g": 28,
    "b": 146
  },
  "hsl": {
    "h": 276.102,
    "s": 67.816,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40481,
    "c": 0.1798,
    "h": 307.1
  },
  "luminance": 0.05558
}

Semantic roles & 50–950 ramp

primary
#631C92
secondary
#79BF4B
accent
#EB3D82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631C92

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

Preview Lab → · Contrast checker → · Palette generator →

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