#63158C#63158C

#63158C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.180 H 309.8°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#63158C
RGBrgb(99, 21, 140)
HSLhsl(279, 74%, 32%)
HSVhsv(279, 85%, 55%)
CMYKcmyk(29.3%, 85%, 0%, 45.1%)
CIE-LABlab(26.97, 51.98, -48.79)
CIE-LCHlch(26.97, 71.29, 316.81°)
OKLaboklab(39.42% 0.1155 -0.1386)
OKLCHoklch(39.42% 0.18 309.8)
XYZxyz(10.1464, 5.0826, 25.2524)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63158C #3E8C15
analogous
#28158C #63158C #8C157A
triadic
#63158C #8C6315 #158C63
tetradic
#63158C #8C2815 #3E8C15 #157A8C
square
#63158C #8C2815 #3E8C15 #157A8C
split-complementary
#63158C #7A8C15 #158C28
monochromatic
#180522 #3D0D57 #63158C #891DC1 #A83AE1

Accessibility & contrast

On white

10.41
#63158C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #63158C
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63158C#FFFFFF#000000##FFFFFF
##63158C1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#5D3553
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #63158c;
/* rgb */ color: rgb(99, 21, 140);
/* oklch */ color: oklch(39.4% 0.180 309.8);
Tailwind
colors: {
  custom: {
    50: '#945fae',
    500: '#63158c',
    950: '#000000',
  },
}
SCSS
$custom: #63158c;
$custom-light: #945fae;
$custom-dark: #000000;
JSON
{
  "hex": "#63158c",
  "rgb": {
    "r": 99,
    "g": 21,
    "b": 140
  },
  "hsl": {
    "h": 279.328,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39419,
    "c": 0.18043,
    "h": 309.8
  },
  "luminance": 0.05082
}

Semantic roles & 50–950 ramp

primary
#63158C
secondary
#6AC03D
accent
#F13777
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #63158C

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

Preview Lab → · Contrast checker → · Palette generator →

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