#631C90#631C90

#631C90 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.178 H 307.8°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#631C90
RGBrgb(99, 28, 144)
HSLhsl(277, 67%, 34%)
HSVhsv(277, 81%, 56%)
CMYKcmyk(31.3%, 80.6%, 0%, 43.5%)
CIE-LABlab(28.11, 50.51, -49.42)
CIE-LCHlch(28.11, 70.67, 315.62°)
OKLaboklab(40.32% 0.109 -0.1405)
OKLCHoklch(40.32% 0.178 307.8)
XYZxyz(10.5938, 5.4969, 26.8831)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631C90 #49901C
analogous
#291C90 #631C90 #901C83
triadic
#631C90 #90631C #1C9063
tetradic
#631C90 #90291C #49901C #1C8390
square
#631C90 #90291C #49901C #1C8390
split-complementary
#631C90 #83901C #1C9029
monochromatic
#1D082A #40125D #631C90 #8626C3 #A34ADC

Accessibility & contrast

On white

10.00
#631C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#631C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631C90
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631C90#FFFFFF#000000##FFFFFF
##631C901.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#5C3A56
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #631c90;
/* rgb */ color: rgb(99, 28, 144);
/* oklch */ color: oklch(40.3% 0.178 307.8);
Tailwind
colors: {
  custom: {
    50: '#9461b1',
    500: '#631c90',
    950: '#000000',
  },
}
SCSS
$custom: #631c90;
$custom-light: #9461b1;
$custom-dark: #000000;
JSON
{
  "hex": "#631c90",
  "rgb": {
    "r": 99,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 276.724,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40315,
    "c": 0.17785,
    "h": 307.8
  },
  "luminance": 0.05497
}

Semantic roles & 50–950 ramp

primary
#631C90
secondary
#77BE4A
accent
#EA3D81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #631C90

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

Preview Lab → · Contrast checker → · Palette generator →

#631C90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva