#631B8F#631B8F

#631B8F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.178 H 308.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#631B8F
RGBrgb(99, 27, 143)
HSLhsl(277, 68%, 33%)
HSVhsv(277, 81%, 56%)
CMYKcmyk(30.8%, 81.1%, 0%, 43.9%)
CIE-LABlab(27.90, 50.65, -49.14)
CIE-LCHlch(27.90, 70.57, 315.87°)
OKLaboklab(40.14% 0.1101 -0.1397)
OKLCHoklch(40.14% 0.178 308.2)
XYZxyz(10.4944, 5.4199, 26.4746)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631B8F #478F1B
analogous
#291B8F #631B8F #8F1B81
triadic
#631B8F #8F631B #1B8F63
tetradic
#631B8F #8F291B #478F1B #1B818F
square
#631B8F #8F291B #478F1B #1B818F
split-complementary
#631B8F #818F1B #1B8F29
monochromatic
#1C0828 #3F115C #631B8F #8725C2 #A448DC

Accessibility & contrast

On white

10.08
#631B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#631B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631B8F
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631B8F#FFFFFF#000000##FFFFFF
##631B8F1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#5C3955
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631b8f;
/* rgb */ color: rgb(99, 27, 143);
/* oklch */ color: oklch(40.1% 0.178 308.2);
Tailwind
colors: {
  custom: {
    50: '#9461b1',
    500: '#631b8f',
    950: '#000000',
  },
}
SCSS
$custom: #631b8f;
$custom-light: #9461b1;
$custom-dark: #000000;
JSON
{
  "hex": "#631b8f",
  "rgb": {
    "r": 99,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 277.241,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40145,
    "c": 0.17786,
    "h": 308.2
  },
  "luminance": 0.0542
}

Semantic roles & 50–950 ramp

primary
#631B8F
secondary
#75BE48
accent
#EB3D7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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