#3C239C#3C239C

#3C239C is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.181 H 282.9°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#3C239C
RGBrgb(60, 35, 156)
HSLhsl(252, 63%, 37%)
HSVhsv(252, 78%, 61%)
CMYKcmyk(61.5%, 77.6%, 0%, 38.8%)
CIE-LABlab(25.45, 44.61, -61.34)
CIE-LCHlch(25.45, 75.85, 306.03°)
OKLaboklab(37.72% 0.0404 -0.1769)
OKLCHoklch(37.72% 0.181 282.9)
XYZxyz(8.4634, 4.5624, 31.8807)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C239C #839C23
analogous
#23469C #3C239C #79239C
triadic
#3C239C #9C3C23 #239C3C
tetradic
#3C239C #9C2346 #839C23 #239C79
square
#3C239C #9C2346 #839C23 #239C79
split-complementary
#3C239C #9C7923 #469C23
monochromatic
#160D38 #29186A #3C239C #4F2ECE #785EDB

Accessibility & contrast

On white

10.98
#3C239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3C239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C239C
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C239C#FFFFFF#000000##FFFFFF
##3C239C1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c239c;
/* rgb */ color: rgb(60, 35, 156);
/* oklch */ color: oklch(37.7% 0.181 282.9);
Tailwind
colors: {
  custom: {
    50: '#7e61ba',
    500: '#3c239c',
    950: '#000000',
  },
}
SCSS
$custom: #3c239c;
$custom-light: #7e61ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3c239c",
  "rgb": {
    "r": 60,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 252.397,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37719,
    "c": 0.18142,
    "h": 282.9
  },
  "luminance": 0.04563
}

Semantic roles & 50–950 ramp

primary
#3C239C
secondary
#ABC05B
accent
#E641C4
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C239C

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

Preview Lab → · Contrast checker → · Palette generator →

#3C239C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva