#631D8E#631D8E

#631D8E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.175 H 308.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#631D8E
RGBrgb(99, 29, 142)
HSLhsl(277, 66%, 34%)
HSVhsv(277, 80%, 56%)
CMYKcmyk(30.3%, 79.6%, 0%, 44.3%)
CIE-LABlab(28.07, 49.69, -48.24)
CIE-LCHlch(28.07, 69.25, 315.85°)
OKLaboklab(40.24% 0.1087 -0.137)
OKLCHoklch(40.24% 0.175 308.4)
XYZxyz(10.4664, 5.4845, 26.0932)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631D8E #488E1D
analogous
#2A1D8E #631D8E #8E1D80
triadic
#631D8E #8E631D #1D8E63
tetradic
#631D8E #8E2A1D #488E1D #1D808E
square
#631D8E #8E2A1D #488E1D #1D808E
split-complementary
#631D8E #808E1D #1D8E2A
monochromatic
#1C0828 #40135B #631D8E #8627C1 #A44BDA

Accessibility & contrast

On white

10.02
#631D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#631D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631D8E
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631D8E#FFFFFF#000000##FFFFFF
##631D8E1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#5C3955
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631d8e;
/* rgb */ color: rgb(99, 29, 142);
/* oklch */ color: oklch(40.2% 0.175 308.4);
Tailwind
colors: {
  custom: {
    50: '#9462b0',
    500: '#631d8e',
    950: '#000000',
  },
}
SCSS
$custom: #631d8e;
$custom-light: #9462b0;
$custom-dark: #000000;
JSON
{
  "hex": "#631d8e",
  "rgb": {
    "r": 99,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 277.168,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40241,
    "c": 0.17489,
    "h": 308.4
  },
  "luminance": 0.05484
}

Semantic roles & 50–950 ramp

primary
#631D8E
secondary
#76BD4A
accent
#E93F80
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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