#63238B#63238B

#63238B is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.165 H 308.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#63238B
RGBrgb(99, 35, 139)
HSLhsl(277, 60%, 34%)
HSVhsv(277, 75%, 55%)
CMYKcmyk(28.8%, 74.8%, 0%, 45.5%)
CIE-LABlab(28.69, 46.56, -45.37)
CIE-LCHlch(28.69, 65.01, 315.74°)
OKLaboklab(40.6% 0.1036 -0.1287)
OKLCHoklch(40.6% 0.165 308.8)
XYZxyz(10.4059, 5.7190, 24.9768)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63238B #4B8B23
analogous
#2F238B #63238B #8B237F
triadic
#63238B #8B6323 #238B63
tetradic
#63238B #8B2F23 #4B8B23 #237F8B
square
#63238B #8B2F23 #4B8B23 #237F8B
split-complementary
#63238B #7F8B23 #238B2F
monochromatic
#1D0A29 #40175A #63238B #862FBC #A354D4

Accessibility & contrast

On white

9.80
#63238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #63238B
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63238B#FFFFFF#000000##FFFFFF
##63238B1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#054489
Tritanopia (blue-blind)
#5D3B55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #63238b;
/* rgb */ color: rgb(99, 35, 139);
/* oklch */ color: oklch(40.6% 0.165 308.8);
Tailwind
colors: {
  custom: {
    50: '#9464ae',
    500: '#63238b',
    950: '#000000',
  },
}
SCSS
$custom: #63238b;
$custom-light: #9464ae;
$custom-dark: #000000;
JSON
{
  "hex": "#63238b",
  "rgb": {
    "r": 99,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 276.923,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40604,
    "c": 0.16517,
    "h": 308.8
  },
  "luminance": 0.05719
}

Semantic roles & 50–950 ramp

primary
#63238B
secondary
#79B852
accent
#E34582
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #63238B

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

Preview Lab → · Contrast checker → · Palette generator →

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