#3C24A8#3C24A8

#3C24A8 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.195 H 280.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#3C24A8
RGBrgb(60, 36, 168)
HSLhsl(251, 65%, 40%)
HSVhsv(251, 79%, 66%)
CMYKcmyk(64.3%, 78.6%, 0%, 34.1%)
CIE-LABlab(26.87, 47.73, -66.28)
CIE-LCHlch(26.87, 81.68, 305.76°)
OKLaboklab(39.09% 0.0364 -0.1913)
OKLCHoklch(39.09% 0.195 280.8)
XYZxyz(9.5600, 5.0488, 37.5089)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C24A8 #90A824
analogous
#244EA8 #3C24A8 #7E24A8
triadic
#3C24A8 #A83C24 #24A83C
tetradic
#3C24A8 #A8244E #90A824 #24A87E
square
#3C24A8 #A8244E #90A824 #24A87E
split-complementary
#3C24A8 #A87E24 #4EA824
monochromatic
#180E43 #2A1976 #3C24A8 #5235D4 #7D68DF

Accessibility & contrast

On white

10.45
#3C24A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3C24A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C24A8
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C24A8#FFFFFF#000000##FFFFFF
##3C24A81.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3c24a8;
/* rgb */ color: rgb(60, 36, 168);
/* oklch */ color: oklch(39.1% 0.195 280.8);
Tailwind
colors: {
  custom: {
    50: '#8063c3',
    500: '#3c24a8',
    950: '#000000',
  },
}
SCSS
$custom: #3c24a8;
$custom-light: #8063c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c24a8",
  "rgb": {
    "r": 60,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 250.909,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.39087,
    "c": 0.19472,
    "h": 280.8
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#3C24A8
secondary
#B3C463
accent
#E840C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3C24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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