#3C24A5#3C24A5

#3C24A5 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.191 H 281.2°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#3C24A5
RGBrgb(60, 36, 165)
HSLhsl(251, 64%, 39%)
HSVhsv(251, 78%, 65%)
CMYKcmyk(63.6%, 78.2%, 0%, 35.3%)
CIE-LABlab(26.56, 46.83, -64.99)
CIE-LCHlch(26.56, 80.10, 305.77°)
OKLaboklab(38.77% 0.0372 -0.1875)
OKLCHoklch(38.77% 0.191 281.2)
XYZxyz(9.2837, 4.9383, 36.0540)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C24A5 #8DA524
analogous
#244DA5 #3C24A5 #7D24A5
triadic
#3C24A5 #A53C24 #24A53C
tetradic
#3C24A5 #A5244D #8DA524 #24A57D
square
#3C24A5 #A5244D #8DA524 #24A57D
split-complementary
#3C24A5 #A57D24 #4DA524
monochromatic
#170E41 #2A1973 #3C24A5 #5134D3 #7C66DE

Accessibility & contrast

On white

10.56
#3C24A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3C24A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C24A5
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C24A5#FFFFFF#000000##FFFFFF
##3C24A51.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3c24a5;
/* rgb */ color: rgb(60, 36, 165);
/* oklch */ color: oklch(38.8% 0.191 281.2);
Tailwind
colors: {
  custom: {
    50: '#8063c1',
    500: '#3c24a5',
    950: '#000000',
  },
}
SCSS
$custom: #3c24a5;
$custom-light: #8063c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c24a5",
  "rgb": {
    "r": 60,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 251.163,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38773,
    "c": 0.19118,
    "h": 281.2
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

primary
#3C24A5
secondary
#B1C362
accent
#E741C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3C24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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