#631874#631874

#631874 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.8% C 0.156 H 319.3°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#631874
RGBrgb(99, 24, 116)
HSLhsl(289, 66%, 27%)
HSVhsv(289, 79%, 45%)
CMYKcmyk(14.7%, 79.3%, 0%, 54.5%)
CIE-LABlab(25.46, 45.95, -36.09)
CIE-LCHlch(25.46, 58.43, 321.85°)
OKLaboklab(37.78% 0.118 -0.1013)
OKLCHoklch(37.78% 0.156 319.3)
XYZxyz(8.6242, 4.5673, 16.9469)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631874 #297418
analogous
#351874 #631874 #741857
triadic
#631874 #746318 #187463
tetradic
#631874 #743518 #297418 #185774
square
#631874 #743518 #297418 #185774
split-complementary
#631874 #577418 #187435
monochromatic
#160519 #380E41 #631874 #8E22A7 #B632D5

Accessibility & contrast

On white

10.98
#631874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#631874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631874
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631874#FFFFFF#000000##FFFFFF
##6318741.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#1F3F72
Tritanopia (blue-blind)
#632B45
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #631874;
/* rgb */ color: rgb(99, 24, 116);
/* oklch */ color: oklch(37.8% 0.156 319.3);
Tailwind
colors: {
  custom: {
    50: '#935e9c',
    500: '#631874',
    950: '#000000',
  },
}
SCSS
$custom: #631874;
$custom-light: #935e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#631874",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 288.913,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37783,
    "c": 0.15554,
    "h": 319.3
  },
  "luminance": 0.04567
}

Semantic roles & 50–950 ramp

primary
#631874
secondary
#52A93F
accent
#E93F5E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631874

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

Preview Lab → · Contrast checker → · Palette generator →

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