#3C239A#3C239A

#3C239A is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.179 H 283.2°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#3C239A
RGBrgb(60, 35, 154)
HSLhsl(253, 63%, 37%)
HSVhsv(253, 77%, 60%)
CMYKcmyk(61%, 77.3%, 0%, 39.6%)
CIE-LABlab(25.25, 44.00, -60.45)
CIE-LCHlch(25.25, 74.77, 306.05°)
OKLaboklab(37.51% 0.0409 -0.1743)
OKLCHoklch(37.51% 0.179 283.2)
XYZxyz(8.2954, 4.4953, 30.9961)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C239A #819A23
analogous
#23469A #3C239A #78239A
triadic
#3C239A #9A3C23 #239A3C
tetradic
#3C239A #9A2346 #819A23 #239A78
square
#3C239A #9A2346 #819A23 #239A78
split-complementary
#3C239A #9A7823 #469A23
monochromatic
#150C36 #291868 #3C239A #4F2ECC #775DDA

Accessibility & contrast

On white

11.06
#3C239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3C239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C239A
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C239A#FFFFFF#000000##FFFFFF
##3C239A1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c239a;
/* rgb */ color: rgb(60, 35, 154);
/* oklch */ color: oklch(37.5% 0.179 283.2);
Tailwind
colors: {
  custom: {
    50: '#7e61b9',
    500: '#3c239a',
    950: '#000000',
  },
}
SCSS
$custom: #3c239a;
$custom-light: #7e61b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c239a",
  "rgb": {
    "r": 60,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 252.605,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37514,
    "c": 0.17902,
    "h": 283.2
  },
  "luminance": 0.04496
}

Semantic roles & 50–950 ramp

primary
#3C239A
secondary
#AABF5A
accent
#E642C4
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C239A

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

Preview Lab → · Contrast checker → · Palette generator →

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