#631893#631893

#631893 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.184 H 307.1°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#631893
RGBrgb(99, 24, 147)
HSLhsl(277, 72%, 34%)
HSVhsv(277, 84%, 58%)
CMYKcmyk(32.7%, 83.7%, 0%, 42.4%)
CIE-LABlab(27.88, 52.57, -51.65)
CIE-LCHlch(27.88, 73.70, 315.51°)
OKLaboklab(40.24% 0.1113 -0.147)
OKLCHoklch(40.24% 0.184 307.1)
XYZxyz(10.7375, 5.4126, 28.0772)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631893 #489318
analogous
#251893 #631893 #931885
triadic
#631893 #936318 #189363
tetradic
#631893 #932518 #489318 #188593
square
#631893 #932518 #489318 #188593
split-complementary
#631893 #859318 #189325
monochromatic
#1C072A #400F5E #631893 #8621C8 #A445E1

Accessibility & contrast

On white

10.08
#631893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#631893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631893
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631893#FFFFFF#000000##FFFFFF
##6318931.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#5B3A57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631893;
/* rgb */ color: rgb(99, 24, 147);
/* oklch */ color: oklch(40.2% 0.184 307.1);
Tailwind
colors: {
  custom: {
    50: '#9560b4',
    500: '#631893',
    950: '#000000',
  },
}
SCSS
$custom: #631893;
$custom-light: #9560b4;
$custom-dark: #000000;
JSON
{
  "hex": "#631893",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 147
  },
  "hsl": {
    "h": 276.585,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40235,
    "c": 0.18442,
    "h": 307.1
  },
  "luminance": 0.05413
}

Semantic roles & 50–950 ramp

primary
#631893
secondary
#76C245
accent
#EF3980
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631893

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

Preview Lab → · Contrast checker → · Palette generator →

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