#631CA1#631CA1

#631CA1 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.194 H 302.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#631CA1
RGBrgb(99, 28, 161)
HSLhsl(272, 70%, 37%)
HSVhsv(272, 83%, 63%)
CMYKcmyk(38.5%, 82.6%, 0%, 36.9%)
CIE-LABlab(29.55, 54.43, -57.47)
CIE-LCHlch(29.55, 79.15, 313.44°)
OKLaboklab(41.77% 0.1042 -0.1642)
OKLCHoklch(41.77% 0.194 302.4)
XYZxyz(11.9923, 6.0563, 34.2485)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631CA1 #5AA11C
analogous
#211CA1 #631CA1 #A11C9D
triadic
#631CA1 #A1631C #1CA163
tetradic
#631CA1 #A1211C #5AA11C #1C9DA1
square
#631CA1 #A1211C #5AA11C #1C9DA1
split-complementary
#631CA1 #9DA11C #1CA121
monochromatic
#230A39 #43136D #631CA1 #8325D5 #A056E2

Accessibility & contrast

On white

9.50
#631CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#631CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631CA1
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631CA1#FFFFFF#000000##FFFFFF
##631CA11.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#00459F
Tritanopia (blue-blind)
#564160
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #631ca1;
/* rgb */ color: rgb(99, 28, 161);
/* oklch */ color: oklch(41.8% 0.194 302.4);
Tailwind
colors: {
  custom: {
    50: '#9662be',
    500: '#631ca1',
    950: '#000000',
  },
}
SCSS
$custom: #631ca1;
$custom-light: #9662be;
$custom-dark: #000000;
JSON
{
  "hex": "#631ca1",
  "rgb": {
    "r": 99,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 272.03,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41772,
    "c": 0.19443,
    "h": 302.4
  },
  "luminance": 0.06056
}

Semantic roles & 50–950 ramp

primary
#631CA1
secondary
#89C554
accent
#ED3B8E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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