#631F93#631F93

#631F93 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.178 H 306.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#631F93
RGBrgb(99, 31, 147)
HSLhsl(275, 65%, 35%)
HSVhsv(275, 79%, 58%)
CMYKcmyk(32.7%, 78.9%, 0%, 42.4%)
CIE-LABlab(28.75, 50.06, -50.24)
CIE-LCHlch(28.75, 70.92, 314.90°)
OKLaboklab(40.84% 0.1057 -0.1429)
OKLCHoklch(40.84% 0.178 306.5)
XYZxyz(10.9009, 5.7393, 28.1316)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631F93 #4F931F
analogous
#291F93 #631F93 #931F89
triadic
#631F93 #93631F #1F9363
tetradic
#631F93 #93291F #4F931F #1F8993
square
#631F93 #93291F #4F931F #1F8993
split-complementary
#631F93 #89931F #1F9329
monochromatic
#1F0A2E #411460 #631F93 #852AC6 #A252DA

Accessibility & contrast

On white

9.78
#631F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#631F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631F93
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631F93#FFFFFF#000000##FFFFFF
##631F931.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#5B3D58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #631f93;
/* rgb */ color: rgb(99, 31, 147);
/* oklch */ color: oklch(40.8% 0.178 306.5);
Tailwind
colors: {
  custom: {
    50: '#9463b4',
    500: '#631f93',
    950: '#000000',
  },
}
SCSS
$custom: #631f93;
$custom-light: #9463b4;
$custom-dark: #000000;
JSON
{
  "hex": "#631f93",
  "rgb": {
    "r": 99,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 275.172,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40839,
    "c": 0.17777,
    "h": 306.5
  },
  "luminance": 0.05739
}

Semantic roles & 50–950 ramp

primary
#631F93
secondary
#7DBE50
accent
#E84085
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #631F93

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

Preview Lab → · Contrast checker → · Palette generator →

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