#631B71#631B71

#631B71 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.8% C 0.149 H 320.6°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#631B71
RGBrgb(99, 27, 113)
HSLhsl(290, 61%, 27%)
HSVhsv(290, 76%, 44%)
CMYKcmyk(12.4%, 76.1%, 0%, 55.7%)
CIE-LABlab(25.65, 44.22, -33.87)
CIE-LCHlch(25.65, 55.70, 322.55°)
OKLaboklab(37.85% 0.1153 -0.0948)
OKLCHoklch(37.85% 0.149 320.6)
XYZxyz(8.5178, 4.6292, 16.0644)
Luminance0.0463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631B71 #29711B
analogous
#381B71 #631B71 #711B54
triadic
#631B71 #71631B #1B7163
tetradic
#631B71 #71381B #29711B #1B5471
square
#631B71 #71381B #29711B #1B5471
split-complementary
#631B71 #54711B #1B7138
monochromatic
#160619 #380F40 #631B71 #8E27A2 #B637CF

Accessibility & contrast

On white

10.90
#631B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#631B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631B71
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631B71#FFFFFF#000000##FFFFFF
##631B711.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#243F6F
Tritanopia (blue-blind)
#642C44
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #631b71;
/* rgb */ color: rgb(99, 27, 113);
/* oklch */ color: oklch(37.8% 0.149 320.6);
Tailwind
colors: {
  custom: {
    50: '#925f9a',
    500: '#631b71',
    950: '#000000',
  },
}
SCSS
$custom: #631b71;
$custom-light: #925f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#631b71",
  "rgb": {
    "r": 99,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 290.233,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37849,
    "c": 0.14932,
    "h": 320.6
  },
  "luminance": 0.04629
}

Semantic roles & 50–950 ramp

primary
#631B71
secondary
#52A642
accent
#E5435E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631B71

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

Preview Lab → · Contrast checker → · Palette generator →

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