#631866#631866

#631866 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.8% C 0.143 H 326.3°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#631866
RGBrgb(99, 24, 102)
HSLhsl(298, 62%, 25%)
HSVhsv(298, 76%, 40%)
CMYKcmyk(2.9%, 76.5%, 0%, 60%)
CIE-LABlab(24.53, 43.23, -28.54)
CIE-LCHlch(24.53, 51.80, 326.56°)
OKLaboklab(36.82% 0.119 -0.0793)
OKLCHoklch(36.82% 0.143 326.3)
XYZxyz(7.8703, 4.2658, 12.9766)
Luminance0.0427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631866 #1B6618
analogous
#3C1866 #631866 #661842
triadic
#631866 #666318 #186663
tetradic
#631866 #663C18 #1B6618 #184266
square
#631866 #663C18 #1B6618 #184266
split-complementary
#631866 #426618 #18663C
monochromatic
#180619 #330C34 #631866 #932498 #C32FC9

Accessibility & contrast

On white

11.33
#631866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#631866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631866
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631866#FFFFFF#000000##FFFFFF
##6318661.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053468
Deuteranopia (green-blind)
#2A3D64
Tritanopia (blue-blind)
#66253D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #631866;
/* rgb */ color: rgb(99, 24, 102);
/* oklch */ color: oklch(36.8% 0.143 326.3);
Tailwind
colors: {
  custom: {
    50: '#925e92',
    500: '#631866',
    950: '#000000',
  },
}
SCSS
$custom: #631866;
$custom-light: #925e92;
$custom-dark: #000000;
JSON
{
  "hex": "#631866",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 102
  },
  "hsl": {
    "h": 297.692,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3682,
    "c": 0.14301,
    "h": 326.3
  },
  "luminance": 0.04265
}

Semantic roles & 50–950 ramp

primary
#631866
secondary
#419C3E
accent
#E54349
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #631866

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

Preview Lab → · Contrast checker → · Palette generator →

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