#63158D#63158D

#63158D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.181 H 309.4°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#63158D
RGBrgb(99, 21, 141)
HSLhsl(279, 74%, 32%)
HSVhsv(279, 85%, 55%)
CMYKcmyk(29.8%, 85.1%, 0%, 44.7%)
CIE-LABlab(27.05, 52.19, -49.28)
CIE-LCHlch(27.05, 71.78, 316.64°)
OKLaboklab(39.5% 0.1152 -0.14)
OKLCHoklch(39.5% 0.181 309.4)
XYZxyz(10.2205, 5.1123, 25.6425)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63158D #3F8D15
analogous
#27158D #63158D #8D157B
triadic
#63158D #8D6315 #158D63
tetradic
#63158D #8D2715 #3F8D15 #157B8D
square
#63158D #8D2715 #3F8D15 #157B8D
split-complementary
#63158D #7B8D15 #158D27
monochromatic
#180522 #3E0D58 #63158D #881DC2 #A73BE2

Accessibility & contrast

On white

10.38
#63158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#63158D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63158D
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63158D#FFFFFF#000000##FFFFFF
##63158D1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#5D3653
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #63158d;
/* rgb */ color: rgb(99, 21, 141);
/* oklch */ color: oklch(39.5% 0.181 309.4);
Tailwind
colors: {
  custom: {
    50: '#945faf',
    500: '#63158d',
    950: '#000000',
  },
}
SCSS
$custom: #63158d;
$custom-light: #945faf;
$custom-dark: #000000;
JSON
{
  "hex": "#63158d",
  "rgb": {
    "r": 99,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 279,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39503,
    "c": 0.18135,
    "h": 309.4
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

primary
#63158D
secondary
#6BC13D
accent
#F13778
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #63158D

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

Preview Lab → · Contrast checker → · Palette generator →

#63158D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva