#631674#631674

#631674 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.6% C 0.158 H 319.5°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#631674
RGBrgb(99, 22, 116)
HSLhsl(289, 68%, 27%)
HSVhsv(289, 81%, 45%)
CMYKcmyk(14.7%, 81%, 0%, 54.5%)
CIE-LABlab(25.22, 46.65, -36.48)
CIE-LCHlch(25.22, 59.22, 321.97°)
OKLaboklab(37.61% 0.1198 -0.1025)
OKLCHoklch(37.61% 0.158 319.5)
XYZxyz(8.5845, 4.4879, 16.9337)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631674 #277416
analogous
#341674 #631674 #741656
triadic
#631674 #746316 #167463
tetradic
#631674 #743416 #277416 #165674
square
#631674 #743416 #277416 #165674
split-complementary
#631674 #567416 #167434
monochromatic
#16051A #370C41 #631674 #8F20A7 #B82DD7

Accessibility & contrast

On white

11.07
#631674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631674
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631674#FFFFFF#000000##FFFFFF
##6316741.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#1E3E72
Tritanopia (blue-blind)
#632A45
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #631674;
/* rgb */ color: rgb(99, 22, 116);
/* oklch */ color: oklch(37.6% 0.158 319.5);
Tailwind
colors: {
  custom: {
    50: '#935e9d',
    500: '#631674',
    950: '#000000',
  },
}
SCSS
$custom: #631674;
$custom-light: #935e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#631674",
  "rgb": {
    "r": 99,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 289.149,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.37612,
    "c": 0.15766,
    "h": 319.5
  },
  "luminance": 0.04487
}

Semantic roles & 50–950 ramp

primary
#631674
secondary
#50AA3C
accent
#EB3D5C
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631674

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

Preview Lab → · Contrast checker → · Palette generator →

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