#631EA0#631EA0

#631EA0 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.192 H 302.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#631EA0
RGBrgb(99, 30, 160)
HSLhsl(272, 68%, 37%)
HSVhsv(272, 81%, 63%)
CMYKcmyk(38.1%, 81.3%, 0%, 37.3%)
CIE-LABlab(29.71, 53.48, -56.61)
CIE-LCHlch(29.71, 77.88, 313.37°)
OKLaboklab(41.85% 0.103 -0.1616)
OKLCHoklch(41.85% 0.192 302.5)
XYZxyz(11.9535, 6.1192, 33.8023)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631EA0 #5BA01E
analogous
#221EA0 #631EA0 #A01E9C
triadic
#631EA0 #A0631E #1EA063
tetradic
#631EA0 #A0221E #5BA01E #1E9CA0
square
#631EA0 #A0221E #5BA01E #1E9CA0
split-complementary
#631EA0 #9CA01E #1EA022
monochromatic
#230B39 #43146C #631EA0 #8328D4 #A059E0

Accessibility & contrast

On white

9.44
#631EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#631EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631EA0
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631EA0#FFFFFF#000000##FFFFFF
##631EA01.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#564260
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #631ea0;
/* rgb */ color: rgb(99, 30, 160);
/* oklch */ color: oklch(41.9% 0.192 302.5);
Tailwind
colors: {
  custom: {
    50: '#9663bd',
    500: '#631ea0',
    950: '#000000',
  },
}
SCSS
$custom: #631ea0;
$custom-light: #9663bd;
$custom-dark: #000000;
JSON
{
  "hex": "#631ea0",
  "rgb": {
    "r": 99,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 271.846,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41854,
    "c": 0.19167,
    "h": 302.5
  },
  "luminance": 0.06119
}

Semantic roles & 50–950 ramp

primary
#631EA0
secondary
#8AC456
accent
#EB3D8F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #631EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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