#631899#631899

#631899 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.8% C 0.190 H 305.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#631899
RGBrgb(99, 24, 153)
HSLhsl(275, 73%, 35%)
HSVhsv(275, 84%, 60%)
CMYKcmyk(35.3%, 84.3%, 0%, 40%)
CIE-LABlab(28.40, 53.92, -54.49)
CIE-LCHlch(28.40, 76.66, 314.70°)
OKLaboklab(40.75% 0.1095 -0.1554)
OKLCHoklch(40.75% 0.19 305.2)
XYZxyz(11.2207, 5.6059, 30.6217)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631899 #4E9918
analogous
#231899 #631899 #99188E
triadic
#631899 #996318 #189963
tetradic
#631899 #992318 #4E9918 #188E99
square
#631899 #992318 #4E9918 #188E99
split-complementary
#631899 #8E9918 #189923
monochromatic
#1F072F #411064 #631899 #8520CE #A249E2

Accessibility & contrast

On white

9.90
#631899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#631899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631899
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631899#FFFFFF#000000##FFFFFF
##6318991.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#593C5B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #631899;
/* rgb */ color: rgb(99, 24, 153);
/* oklch */ color: oklch(40.8% 0.190 305.2);
Tailwind
colors: {
  custom: {
    50: '#9560b8',
    500: '#631899',
    950: '#000000',
  },
}
SCSS
$custom: #631899;
$custom-light: #9560b8;
$custom-dark: #000000;
JSON
{
  "hex": "#631899",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 153
  },
  "hsl": {
    "h": 274.884,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40753,
    "c": 0.19009,
    "h": 305.2
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#631899
secondary
#7CC449
accent
#F03885
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631899

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

Preview Lab → · Contrast checker → · Palette generator →

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