#63238D#63238D

#63238D is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.167 H 308.1°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#63238D
RGBrgb(99, 35, 141)
HSLhsl(276, 60%, 35%)
HSVhsv(276, 75%, 55%)
CMYKcmyk(29.8%, 75.2%, 0%, 44.7%)
CIE-LABlab(28.85, 47.02, -46.37)
CIE-LCHlch(28.85, 66.04, 315.40°)
OKLaboklab(40.76% 0.1032 -0.1316)
OKLCHoklch(40.76% 0.167 308.1)
XYZxyz(10.5533, 5.7780, 25.7534)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63238D #4D8D23
analogous
#2E238D #63238D #8D2382
triadic
#63238D #8D6323 #238D63
tetradic
#63238D #8D2E23 #4D8D23 #23828D
square
#63238D #8D2E23 #4D8D23 #23828D
split-complementary
#63238D #828D23 #238D2E
monochromatic
#1E0B2B #41175C #63238D #852FBE #A255D5

Accessibility & contrast

On white

9.74
#63238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#63238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63238D
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63238D#FFFFFF#000000##FFFFFF
##63238D1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#00458B
Tritanopia (blue-blind)
#5C3C56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #63238d;
/* rgb */ color: rgb(99, 35, 141);
/* oklch */ color: oklch(40.8% 0.167 308.1);
Tailwind
colors: {
  custom: {
    50: '#9465af',
    500: '#63238d',
    950: '#000000',
  },
}
SCSS
$custom: #63238d;
$custom-light: #9465af;
$custom-dark: #000000;
JSON
{
  "hex": "#63238d",
  "rgb": {
    "r": 99,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 276.226,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40761,
    "c": 0.16724,
    "h": 308.1
  },
  "luminance": 0.05778
}

Semantic roles & 50–950 ramp

primary
#63238D
secondary
#7BB953
accent
#E34483
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #63238D

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

Preview Lab → · Contrast checker → · Palette generator →

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