#631D91#631D91

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

Color values

HEX#631D91
RGBrgb(99, 29, 145)
HSLhsl(276, 67%, 34%)
HSVhsv(276, 80%, 57%)
CMYKcmyk(31.7%, 80%, 0%, 43.1%)
CIE-LABlab(28.32, 50.37, -49.70)
CIE-LCHlch(28.32, 70.76, 315.38°)
OKLaboklab(40.49% 0.1079 -0.1413)
OKLCHoklch(40.49% 0.178 307.4)
XYZxyz(10.6947, 5.5759, 27.2954)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631D91 #4B911D
analogous
#291D91 #631D91 #911D85
triadic
#631D91 #91631D #1D9163
tetradic
#631D91 #91291D #4B911D #1D8591
square
#631D91 #91291D #4B911D #1D8591
split-complementary
#631D91 #85911D #1D9129
monochromatic
#1D092B #40135E #631D91 #8627C4 #A34DDB

Accessibility & contrast

On white

9.93
#631D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631D91
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631D91#FFFFFF#000000##FFFFFF
##631D911.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#5B3B57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #631d91;
/* rgb */ color: rgb(99, 29, 145);
/* oklch */ color: oklch(40.5% 0.178 307.4);
Tailwind
colors: {
  custom: {
    50: '#9462b2',
    500: '#631d91',
    950: '#000000',
  },
}
SCSS
$custom: #631d91;
$custom-light: #9462b2;
$custom-dark: #000000;
JSON
{
  "hex": "#631d91",
  "rgb": {
    "r": 99,
    "g": 29,
    "b": 145
  },
  "hsl": {
    "h": 276.207,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40488,
    "c": 0.17783,
    "h": 307.4
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#631D91
secondary
#79BE4C
accent
#EA3E82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #631D91

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

Preview Lab → · Contrast checker → · Palette generator →

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