#63238E#63238E

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

Color values

HEX#63238E
RGBrgb(99, 35, 142)
HSLhsl(276, 60%, 35%)
HSVhsv(276, 75%, 56%)
CMYKcmyk(30.3%, 75.4%, 0%, 44.3%)
CIE-LABlab(28.92, 47.25, -46.86)
CIE-LCHlch(28.92, 66.55, 315.24°)
OKLaboklab(40.84% 0.103 -0.133)
OKLCHoklch(40.84% 0.168 307.8)
XYZxyz(10.6281, 5.8079, 26.1471)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63238E #4E8E23
analogous
#2E238E #63238E #8E2384
triadic
#63238E #8E6323 #238E63
tetradic
#63238E #8E2E23 #4E8E23 #23848E
square
#63238E #8E2E23 #4E8E23 #23848E
split-complementary
#63238E #848E23 #238E2E
monochromatic
#1F0B2C #41175D #63238E #852FBF #A256D5

Accessibility & contrast

On white

9.72
#63238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #63238E
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63238E#FFFFFF#000000##FFFFFF
##63238E1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#5C3C57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #63238e;
/* rgb */ color: rgb(99, 35, 142);
/* oklch */ color: oklch(40.8% 0.168 307.8);
Tailwind
colors: {
  custom: {
    50: '#9465b0',
    500: '#63238e',
    950: '#000000',
  },
}
SCSS
$custom: #63238e;
$custom-light: #9465b0;
$custom-dark: #000000;
JSON
{
  "hex": "#63238e",
  "rgb": {
    "r": 99,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 275.888,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4084,
    "c": 0.16827,
    "h": 307.8
  },
  "luminance": 0.05808
}

Semantic roles & 50–950 ramp

primary
#63238E
secondary
#7CB953
accent
#E44484
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #63238E

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

Preview Lab → · Contrast checker → · Palette generator →

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