#631256#631256

#631256 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.3% C 0.137 H 335.7°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#631256
RGBrgb(99, 18, 86)
HSLhsl(310, 69%, 23%)
HSVhsv(310, 82%, 39%)
CMYKcmyk(0%, 81.8%, 13.1%, 61.2%)
CIE-LABlab(22.85, 42.52, -20.63)
CIE-LCHlch(22.85, 47.27, 334.12°)
OKLaboklab(35.31% 0.1246 -0.0564)
OKLCHoklch(35.31% 0.137 335.7)
XYZxyz(7.0417, 3.7578, 9.1568)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631256 #12631F
analogous
#471263 #631256 #63122D
triadic
#631256 #566312 #125663
tetradic
#631256 #634712 #12631F #122D63
square
#631256 #634712 #12631F #122D63
split-complementary
#631256 #2D6312 #126347
monochromatic
#1A0516 #2F0929 #631256 #971B83 #CB25B0

Accessibility & contrast

On white

11.99
#631256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#631256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631256
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631256#FFFFFF#000000##FFFFFF
##6312561.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132F58
Deuteranopia (green-blind)
#303B54
Tritanopia (blue-blind)
#681933
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #631256;
/* rgb */ color: rgb(99, 18, 86);
/* oklch */ color: oklch(35.3% 0.137 335.7);
Tailwind
colors: {
  custom: {
    50: '#935b86',
    500: '#631256',
    950: '#000000',
  },
}
SCSS
$custom: #631256;
$custom-light: #935b86;
$custom-dark: #000000;
JSON
{
  "hex": "#631256",
  "rgb": {
    "r": 99,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 309.63,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.35311,
    "c": 0.13673,
    "h": 335.7
  },
  "luminance": 0.03757
}

Semantic roles & 50–950 ramp

primary
#631256
secondary
#369B46
accent
#EC583C
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #631256

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

Preview Lab → · Contrast checker → · Palette generator →

#631256 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva