#63198A#63198A

#63198A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.175 H 310.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#63198A
RGBrgb(99, 25, 138)
HSLhsl(279, 69%, 32%)
HSVhsv(279, 82%, 54%)
CMYKcmyk(28.3%, 81.9%, 0%, 45.9%)
CIE-LABlab(27.25, 50.25, -47.09)
CIE-LCHlch(27.25, 68.86, 316.86°)
OKLaboklab(39.56% 0.113 -0.1336)
OKLCHoklch(39.56% 0.175 310.2)
XYZxyz(10.0798, 5.1831, 24.5093)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63198A #408A19
analogous
#2B198A #63198A #8A1979
triadic
#63198A #8A6319 #198A63
tetradic
#63198A #8A2B19 #408A19 #19798A
square
#63198A #8A2B19 #408A19 #19798A
split-complementary
#63198A #798A19 #198A2B
monochromatic
#190622 #3E1056 #63198A #8822BE #A741DD

Accessibility & contrast

On white

10.31
#63198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#63198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63198A
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63198A#FFFFFF#000000##FFFFFF
##63198A1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#5D3652
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #63198a;
/* rgb */ color: rgb(99, 25, 138);
/* oklch */ color: oklch(39.6% 0.175 310.2);
Tailwind
colors: {
  custom: {
    50: '#9460ad',
    500: '#63198a',
    950: '#000000',
  },
}
SCSS
$custom: #63198a;
$custom-light: #9460ad;
$custom-dark: #000000;
JSON
{
  "hex": "#63198a",
  "rgb": {
    "r": 99,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 279.292,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39564,
    "c": 0.17501,
    "h": 310.2
  },
  "luminance": 0.05183
}

Semantic roles & 50–950 ramp

primary
#63198A
secondary
#6CBD42
accent
#EC3C79
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #63198A

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

Preview Lab → · Contrast checker → · Palette generator →

#63198A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva