#631474#631474

#631474 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.5% C 0.160 H 319.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#631474
RGBrgb(99, 20, 116)
HSLhsl(289, 71%, 27%)
HSVhsv(289, 83%, 45%)
CMYKcmyk(14.7%, 82.8%, 0%, 54.5%)
CIE-LABlab(25.00, 47.30, -36.84)
CIE-LCHlch(25.00, 59.96, 322.09°)
OKLaboklab(37.45% 0.1216 -0.1035)
OKLCHoklch(37.45% 0.16 319.6)
XYZxyz(8.5477, 4.4144, 16.9214)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631474 #257414
analogous
#331474 #631474 #741455
triadic
#631474 #746314 #147463
tetradic
#631474 #743314 #257414 #145574
square
#631474 #743314 #257414 #145574
split-complementary
#631474 #557414 #147433
monochromatic
#16051A #360B40 #631474 #901DA8 #BB28DA

Accessibility & contrast

On white

11.15
#631474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#631474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631474
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631474#FFFFFF#000000##FFFFFF
##6314741.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#1D3E72
Tritanopia (blue-blind)
#632944
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #631474;
/* rgb */ color: rgb(99, 20, 116);
/* oklch */ color: oklch(37.5% 0.160 319.6);
Tailwind
colors: {
  custom: {
    50: '#935d9d',
    500: '#631474',
    950: '#000000',
  },
}
SCSS
$custom: #631474;
$custom-light: #935d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#631474",
  "rgb": {
    "r": 99,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 289.375,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37452,
    "c": 0.15966,
    "h": 319.6
  },
  "luminance": 0.04414
}

Semantic roles & 50–950 ramp

primary
#631474
secondary
#4EAA3A
accent
#ED3A5A
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631474

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

Preview Lab → · Contrast checker → · Palette generator →

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