#3C24B4#3C24B4

#3C24B4 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.4% C 0.209 H 279.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#3C24B4
RGBrgb(60, 36, 180)
HSLhsl(250, 67%, 42%)
HSVhsv(250, 80%, 71%)
CMYKcmyk(66.7%, 80%, 0%, 29.4%)
CIE-LABlab(28.16, 51.31, -71.36)
CIE-LCHlch(28.16, 87.89, 305.72°)
OKLaboklab(40.36% 0.033 -0.2061)
OKLCHoklch(40.36% 0.209 279.1)
XYZxyz(10.7299, 5.5168, 43.6706)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C24B4 #9CB424
analogous
#2454B4 #3C24B4 #8424B4
triadic
#3C24B4 #B43C24 #24B43C
tetradic
#3C24B4 #B42454 #9CB424 #24B484
square
#3C24B4 #B42454 #9CB424 #24B484
split-complementary
#3C24B4 #B48424 #54B424
monochromatic
#1A104E #2B1A81 #3C24B4 #573DD8 #8370E2

Accessibility & contrast

On white

9.98
#3C24B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3C24B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C24B4
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C24B4#FFFFFF#000000##FFFFFF
##3C24B41.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#003DB2
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3c24b4;
/* rgb */ color: rgb(60, 36, 180);
/* oklch */ color: oklch(40.4% 0.209 279.1);
Tailwind
colors: {
  custom: {
    50: '#8363cc',
    500: '#3c24b4',
    950: '#000000',
  },
}
SCSS
$custom: #3c24b4;
$custom-light: #8363cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c24b4",
  "rgb": {
    "r": 60,
    "g": 36,
    "b": 180
  },
  "hsl": {
    "h": 250,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40363,
    "c": 0.20869,
    "h": 279.1
  },
  "luminance": 0.05518
}

Semantic roles & 50–950 ramp

primary
#3C24B4
secondary
#B9C96B
accent
#EA3ECD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3C24B4

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

Preview Lab → · Contrast checker → · Palette generator →

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