#631A7F#631A7F

#631A7F is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.164 H 314.4°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#631A7F
RGBrgb(99, 26, 127)
HSLhsl(283, 66%, 30%)
HSVhsv(283, 80%, 50%)
CMYKcmyk(22%, 79.5%, 0%, 50.2%)
CIE-LABlab(26.52, 47.51, -41.38)
CIE-LCHlch(26.52, 63.01, 318.94°)
OKLaboklab(38.78% 0.1145 -0.1169)
OKLCHoklch(38.78% 0.164 314.4)
XYZxyz(9.3451, 4.9241, 20.5327)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631A7F #367F1A
analogous
#301A7F #631A7F #7F1A69
triadic
#631A7F #7F631A #1A7F63
tetradic
#631A7F #7F301A #367F1A #1A697F
square
#631A7F #7F301A #367F1A #1A697F
split-complementary
#631A7F #697F1A #1A7F30
monochromatic
#140519 #3B104C #631A7F #8B24B2 #AC3CD7

Accessibility & contrast

On white

10.58
#631A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#631A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631A7F
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631A7F#FFFFFF#000000##FFFFFF
##631A7F1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#13407D
Tritanopia (blue-blind)
#60314C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #631a7f;
/* rgb */ color: rgb(99, 26, 127);
/* oklch */ color: oklch(38.8% 0.164 314.4);
Tailwind
colors: {
  custom: {
    50: '#9360a5',
    500: '#631a7f',
    950: '#000000',
  },
}
SCSS
$custom: #631a7f;
$custom-light: #9360a5;
$custom-dark: #000000;
JSON
{
  "hex": "#631a7f",
  "rgb": {
    "r": 99,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 283.366,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.38781,
    "c": 0.1636,
    "h": 314.4
  },
  "luminance": 0.04924
}

Semantic roles & 50–950 ramp

primary
#631A7F
secondary
#61B342
accent
#E93F6E
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #631A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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