#63238C#63238C

#63238C is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.166 H 308.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#63238C
RGBrgb(99, 35, 140)
HSLhsl(277, 60%, 34%)
HSVhsv(277, 75%, 55%)
CMYKcmyk(29.3%, 75%, 0%, 45.1%)
CIE-LABlab(28.77, 46.79, -45.87)
CIE-LCHlch(28.77, 65.52, 315.57°)
OKLaboklab(40.68% 0.1034 -0.1301)
OKLCHoklch(40.68% 0.166 308.5)
XYZxyz(10.4793, 5.7483, 25.3634)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63238C #4C8C23
analogous
#2E238C #63238C #8C2381
triadic
#63238C #8C6323 #238C63
tetradic
#63238C #8C2E23 #4C8C23 #23818C
square
#63238C #8C2E23 #4C8C23 #23818C
split-complementary
#63238C #818C23 #238C2E
monochromatic
#1E0B2A #40175B #63238C #862FBD #A355D4

Accessibility & contrast

On white

9.77
#63238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#63238C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63238C
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63238C#FFFFFF#000000##FFFFFF
##63238C1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#02458A
Tritanopia (blue-blind)
#5D3C55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #63238c;
/* rgb */ color: rgb(99, 35, 140);
/* oklch */ color: oklch(40.7% 0.166 308.5);
Tailwind
colors: {
  custom: {
    50: '#9464ae',
    500: '#63238c',
    950: '#000000',
  },
}
SCSS
$custom: #63238c;
$custom-light: #9464ae;
$custom-dark: #000000;
JSON
{
  "hex": "#63238c",
  "rgb": {
    "r": 99,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 276.571,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40682,
    "c": 0.16621,
    "h": 308.5
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#63238C
secondary
#7AB852
accent
#E34583
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #63238C

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

Preview Lab → · Contrast checker → · Palette generator →

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