#632298#632298

#632298 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.180 H 304.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#632298
RGBrgb(99, 34, 152)
HSLhsl(273, 63%, 36%)
HSVhsv(273, 78%, 60%)
CMYKcmyk(34.9%, 77.6%, 0%, 40.4%)
CIE-LABlab(29.57, 50.03, -51.96)
CIE-LCHlch(29.57, 72.13, 313.92°)
OKLaboklab(41.55% 0.1018 -0.148)
OKLCHoklch(41.55% 0.18 304.5)
XYZxyz(11.3838, 6.0638, 30.2704)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#632298 #579822
analogous
#282298 #632298 #982292
triadic
#632298 #986322 #229863
tetradic
#632298 #982822 #579822 #229298
square
#632298 #982822 #579822 #229298
split-complementary
#632298 #929822 #229828
monochromatic
#220C34 #421766 #632298 #842DCA #A15ADA

Accessibility & contrast

On white

9.49
#632298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#632298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #632298
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##632298#FFFFFF#000000##FFFFFF
##6322981.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#59405C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #632298;
/* rgb */ color: rgb(99, 34, 152);
/* oklch */ color: oklch(41.5% 0.180 304.5);
Tailwind
colors: {
  custom: {
    50: '#9565b7',
    500: '#632298',
    950: '#000000',
  },
}
SCSS
$custom: #632298;
$custom-light: #9565b7;
$custom-dark: #000000;
JSON
{
  "hex": "#632298",
  "rgb": {
    "r": 99,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 273.051,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41548,
    "c": 0.17965,
    "h": 304.5
  },
  "luminance": 0.06064
}

Semantic roles & 50–950 ramp

primary
#632298
secondary
#86BE57
accent
#E6418C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #632298

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

Preview Lab → · Contrast checker → · Palette generator →

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