#632398#632398

#632398 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.179 H 304.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#632398
RGBrgb(99, 35, 152)
HSLhsl(273, 63%, 37%)
HSVhsv(273, 77%, 60%)
CMYKcmyk(34.9%, 77%, 0%, 40.4%)
CIE-LABlab(29.72, 49.61, -51.72)
CIE-LCHlch(29.72, 71.67, 313.81°)
OKLaboklab(41.65% 0.1009 -0.1473)
OKLCHoklch(41.65% 0.179 304.4)
XYZxyz(11.4128, 6.1218, 30.2800)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#632398 #589823
analogous
#292398 #632398 #982393
triadic
#632398 #986323 #239863
tetradic
#632398 #982923 #589823 #239398
square
#632398 #982923 #589823 #239398
split-complementary
#632398 #939823 #239829
monochromatic
#220C35 #431866 #632398 #832ECA #A15CD9

Accessibility & contrast

On white

9.44
#632398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#632398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #632398
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##632398#FFFFFF#000000##FFFFFF
##6323981.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #632398;
/* rgb */ color: rgb(99, 35, 152);
/* oklch */ color: oklch(41.6% 0.179 304.4);
Tailwind
colors: {
  custom: {
    50: '#9565b7',
    500: '#632398',
    950: '#000000',
  },
}
SCSS
$custom: #632398;
$custom-light: #9565b7;
$custom-dark: #000000;
JSON
{
  "hex": "#632398",
  "rgb": {
    "r": 99,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 272.821,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41649,
    "c": 0.17857,
    "h": 304.4
  },
  "luminance": 0.06122
}

Semantic roles & 50–950 ramp

primary
#632398
secondary
#87BE59
accent
#E6428C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #632398

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

Preview Lab → · Contrast checker → · Palette generator →

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