#631894#631894

#631894 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.3% C 0.185 H 306.8°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#631894
RGBrgb(99, 24, 148)
HSLhsl(276, 72%, 34%)
HSVhsv(276, 84%, 58%)
CMYKcmyk(33.1%, 83.8%, 0%, 42%)
CIE-LABlab(27.96, 52.80, -52.12)
CIE-LCHlch(27.96, 74.19, 315.37°)
OKLaboklab(40.32% 0.111 -0.1484)
OKLCHoklch(40.32% 0.185 306.8)
XYZxyz(10.8164, 5.4442, 28.4922)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631894 #499418
analogous
#251894 #631894 #941887
triadic
#631894 #946318 #189463
tetradic
#631894 #942518 #499418 #188794
square
#631894 #942518 #499418 #188794
split-complementary
#631894 #879418 #189425
monochromatic
#1D072B #400F5F #631894 #8621C9 #A345E1

Accessibility & contrast

On white

10.05
#631894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#631894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631894
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631894#FFFFFF#000000##FFFFFF
##6318941.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#5A3A58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631894;
/* rgb */ color: rgb(99, 24, 148);
/* oklch */ color: oklch(40.3% 0.185 306.8);
Tailwind
colors: {
  custom: {
    50: '#9560b4',
    500: '#631894',
    950: '#000000',
  },
}
SCSS
$custom: #631894;
$custom-light: #9560b4;
$custom-dark: #000000;
JSON
{
  "hex": "#631894",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 148
  },
  "hsl": {
    "h": 276.29,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4032,
    "c": 0.18536,
    "h": 306.8
  },
  "luminance": 0.05444
}

Semantic roles & 50–950 ramp

primary
#631894
secondary
#77C246
accent
#EF3981
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631894

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

Preview Lab → · Contrast checker → · Palette generator →

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