#631870#631870

#631870 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.5% C 0.152 H 321.2°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#631870
RGBrgb(99, 24, 112)
HSLhsl(291, 65%, 27%)
HSVhsv(291, 79%, 44%)
CMYKcmyk(11.6%, 78.6%, 0%, 56.1%)
CIE-LABlab(25.19, 45.15, -33.97)
CIE-LCHlch(25.19, 56.51, 323.05°)
OKLaboklab(37.5% 0.1184 -0.0951)
OKLCHoklch(37.5% 0.152 321.2)
XYZxyz(8.3965, 4.4762, 15.7478)
Luminance0.0448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631870 #257018
analogous
#371870 #631870 #701851
triadic
#631870 #706318 #187063
tetradic
#631870 #703718 #257018 #185170
square
#631870 #703718 #257018 #185170
split-complementary
#631870 #517018 #187037
monochromatic
#160519 #360D3E #631870 #9023A2 #BB30D3

Accessibility & contrast

On white

11.08
#631870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#631870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631870
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631870#FFFFFF#000000##FFFFFF
##6318701.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#233E6E
Tritanopia (blue-blind)
#642943
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #631870;
/* rgb */ color: rgb(99, 24, 112);
/* oklch */ color: oklch(37.5% 0.152 321.2);
Tailwind
colors: {
  custom: {
    50: '#935e99',
    500: '#631870',
    950: '#000000',
  },
}
SCSS
$custom: #631870;
$custom-light: #935e99;
$custom-dark: #000000;
JSON
{
  "hex": "#631870",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 291.136,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37498,
    "c": 0.15191,
    "h": 321.2
  },
  "luminance": 0.04476
}

Semantic roles & 50–950 ramp

primary
#631870
secondary
#4EA53E
accent
#E84059
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631870

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

Preview Lab → · Contrast checker → · Palette generator →

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