#63238A#63238A

#63238A is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.164 H 309.2°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#63238A
RGBrgb(99, 35, 138)
HSLhsl(277, 60%, 34%)
HSVhsv(277, 75%, 54%)
CMYKcmyk(28.3%, 74.6%, 0%, 45.9%)
CIE-LABlab(28.62, 46.32, -44.88)
CIE-LCHlch(28.62, 64.50, 315.91°)
OKLaboklab(40.53% 0.1037 -0.1272)
OKLCHoklch(40.53% 0.164 309.2)
XYZxyz(10.3331, 5.6899, 24.5937)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63238A #4A8A23
analogous
#30238A #63238A #8A237E
triadic
#63238A #8A6323 #238A63
tetradic
#63238A #8A3023 #4A8A23 #237E8A
square
#63238A #8A3023 #4A8A23 #237E8A
split-complementary
#63238A #7E8A23 #238A30
monochromatic
#1D0A28 #401759 #63238A #862FBB #A354D4

Accessibility & contrast

On white

9.82
#63238A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#63238A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63238A
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63238A#FFFFFF#000000##FFFFFF
##63238A1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#084488
Tritanopia (blue-blind)
#5D3B54
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #63238a;
/* rgb */ color: rgb(99, 35, 138);
/* oklch */ color: oklch(40.5% 0.164 309.2);
Tailwind
colors: {
  custom: {
    50: '#9364ad',
    500: '#63238a',
    950: '#000000',
  },
}
SCSS
$custom: #63238a;
$custom-light: #9364ad;
$custom-dark: #000000;
JSON
{
  "hex": "#63238a",
  "rgb": {
    "r": 99,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 277.282,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40526,
    "c": 0.16414,
    "h": 309.2
  },
  "luminance": 0.0569
}

Semantic roles & 50–950 ramp

primary
#63238A
secondary
#78B751
accent
#E34581
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #63238A

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

Preview Lab → · Contrast checker → · Palette generator →

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