#631858#631858

#631858 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.0% C 0.131 H 334.5°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#631858
RGBrgb(99, 24, 88)
HSLhsl(309, 61%, 24%)
HSVhsv(309, 76%, 39%)
CMYKcmyk(0%, 75.8%, 11.1%, 61.2%)
CIE-LABlab(23.71, 40.73, -20.63)
CIE-LCHlch(23.71, 45.66, 333.14°)
OKLaboklab(35.96% 0.1185 -0.0564)
OKLCHoklch(35.96% 0.131 334.5)
XYZxyz(7.2337, 4.0111, 9.6239)
Luminance0.0401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631858 #186323
analogous
#491863 #631858 #631833
triadic
#631858 #586318 #185863
tetradic
#631858 #634918 #186323 #183363
square
#631858 #634918 #186323 #183363
split-complementary
#631858 #336318 #186349
monochromatic
#190616 #320C2C #631858 #942484 #C630B0

Accessibility & contrast

On white

11.65
#631858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#631858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631858
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631858#FFFFFF#000000##FFFFFF
##6318581.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17315A
Deuteranopia (green-blind)
#323C56
Tritanopia (blue-blind)
#681E36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #631858;
/* rgb */ color: rgb(99, 24, 88);
/* oklch */ color: oklch(36.0% 0.131 334.5);
Tailwind
colors: {
  custom: {
    50: '#925d87',
    500: '#631858',
    950: '#000000',
  },
}
SCSS
$custom: #631858;
$custom-light: #925d87;
$custom-dark: #000000;
JSON
{
  "hex": "#631858",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 88
  },
  "hsl": {
    "h": 308.8,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35962,
    "c": 0.13121,
    "h": 334.5
  },
  "luminance": 0.0401
}

Semantic roles & 50–950 ramp

primary
#631858
secondary
#3E994B
accent
#E45B44
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D050B
muted
#7E797C

Preview Lab

Preview with #631858

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

Preview Lab → · Contrast checker → · Palette generator →

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