#632796#632796

#632796 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.172 H 304.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#632796
RGBrgb(99, 39, 150)
HSLhsl(272, 59%, 37%)
HSVhsv(272, 74%, 59%)
CMYKcmyk(34%, 74%, 0%, 41.2%)
CIE-LABlab(30.17, 47.39, -49.76)
CIE-LCHlch(30.17, 68.71, 313.60°)
OKLaboklab(41.92% 0.0975 -0.1416)
OKLCHoklch(41.92% 0.172 304.6)
XYZxyz(11.3749, 6.3057, 29.4661)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#632796 #5A9627
analogous
#2B2796 #632796 #962792
triadic
#632796 #966327 #279663
tetradic
#632796 #962B27 #5A9627 #279296
square
#632796 #962B27 #5A9627 #279296
split-complementary
#632796 #929627 #27962B
monochromatic
#230E35 #431A65 #632796 #8334C7 #A061D6

Accessibility & contrast

On white

9.29
#632796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#632796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #632796
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##632796#FFFFFF#000000##FFFFFF
##6327961.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#59425C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #632796;
/* rgb */ color: rgb(99, 39, 150);
/* oklch */ color: oklch(41.9% 0.172 304.6);
Tailwind
colors: {
  custom: {
    50: '#9467b6',
    500: '#632796',
    950: '#000000',
  },
}
SCSS
$custom: #632796;
$custom-light: #9467b6;
$custom-dark: #000000;
JSON
{
  "hex": "#632796",
  "rgb": {
    "r": 99,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 272.432,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41919,
    "c": 0.1719,
    "h": 304.6
  },
  "luminance": 0.06306
}

Semantic roles & 50–950 ramp

primary
#632796
secondary
#89BC5D
accent
#E2468E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #632796

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

Preview Lab → · Contrast checker → · Palette generator →

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