#632287#632287

#632287 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.162 H 310.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#632287
RGBrgb(99, 34, 135)
HSLhsl(279, 60%, 33%)
HSVhsv(279, 75%, 53%)
CMYKcmyk(26.7%, 74.8%, 0%, 47.1%)
CIE-LABlab(28.24, 46.07, -43.62)
CIE-LCHlch(28.24, 63.44, 316.56°)
OKLaboklab(40.19% 0.1053 -0.1235)
OKLCHoklch(40.19% 0.162 310.4)
XYZxyz(10.0899, 5.5462, 23.4560)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#632287 #468722
analogous
#312287 #632287 #872278
triadic
#632287 #876322 #228763
tetradic
#632287 #873122 #468722 #227887
square
#632287 #873122 #468722 #227887
split-complementary
#632287 #788722 #228731
monochromatic
#1B0925 #3F1656 #632287 #872EB8 #A450D3

Accessibility & contrast

On white

9.96
#632287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#632287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #632287
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##632287#FFFFFF#000000##FFFFFF
##6322871.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#0E4485
Tritanopia (blue-blind)
#5E3952
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #632287;
/* rgb */ color: rgb(99, 34, 135);
/* oklch */ color: oklch(40.2% 0.162 310.4);
Tailwind
colors: {
  custom: {
    50: '#9364ab',
    500: '#632287',
    950: '#000000',
  },
}
SCSS
$custom: #632287;
$custom-light: #9364ab;
$custom-dark: #000000;
JSON
{
  "hex": "#632287",
  "rgb": {
    "r": 99,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 278.614,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40186,
    "c": 0.16229,
    "h": 310.4
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

primary
#632287
secondary
#73B74E
accent
#E3457D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #632287

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

Preview Lab → · Contrast checker → · Palette generator →

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