#63158E#63158E

#63158E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.6% C 0.182 H 309.1°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#63158E
RGBrgb(99, 21, 142)
HSLhsl(279, 74%, 32%)
HSVhsv(279, 85%, 56%)
CMYKcmyk(30.3%, 85.2%, 0%, 44.3%)
CIE-LABlab(27.14, 52.41, -49.76)
CIE-LCHlch(27.14, 72.27, 316.48°)
OKLaboklab(39.59% 0.1149 -0.1415)
OKLCHoklch(39.59% 0.182 309.1)
XYZxyz(10.2952, 5.1422, 26.0361)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63158E #408E15
analogous
#27158E #63158E #8E157D
triadic
#63158E #8E6315 #158E63
tetradic
#63158E #8E2715 #408E15 #157D8E
square
#63158E #8E2715 #408E15 #157D8E
split-complementary
#63158E #7D8E15 #158E27
monochromatic
#190523 #3E0D59 #63158E #881DC3 #A73BE2

Accessibility & contrast

On white

10.35
#63158E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#63158E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63158E
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63158E#FFFFFF#000000##FFFFFF
##63158E1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#5C3654
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #63158e;
/* rgb */ color: rgb(99, 21, 142);
/* oklch */ color: oklch(39.6% 0.182 309.1);
Tailwind
colors: {
  custom: {
    50: '#945fb0',
    500: '#63158e',
    950: '#000000',
  },
}
SCSS
$custom: #63158e;
$custom-light: #945fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#63158e",
  "rgb": {
    "r": 99,
    "g": 21,
    "b": 142
  },
  "hsl": {
    "h": 278.678,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39587,
    "c": 0.18226,
    "h": 309.1
  },
  "luminance": 0.05142
}

Semantic roles & 50–950 ramp

primary
#63158E
secondary
#6CC23D
accent
#F13779
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #63158E

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

Preview Lab → · Contrast checker → · Palette generator →

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