#3C24A3#3C24A3

#3C24A3 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.189 H 281.5°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#3C24A3
RGBrgb(60, 36, 163)
HSLhsl(251, 64%, 39%)
HSVhsv(251, 78%, 64%)
CMYKcmyk(63.2%, 77.9%, 0%, 36.1%)
CIE-LABlab(26.35, 46.22, -64.12)
CIE-LCHlch(26.35, 79.04, 305.79°)
OKLaboklab(38.57% 0.0378 -0.185)
OKLCHoklch(38.57% 0.189 281.5)
XYZxyz(9.1031, 4.8661, 35.1028)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C24A3 #8BA324
analogous
#244BA3 #3C24A3 #7C24A3
triadic
#3C24A3 #A33C24 #24A33C
tetradic
#3C24A3 #A3244B #8BA324 #24A37C
square
#3C24A3 #A3244B #8BA324 #24A37C
split-complementary
#3C24A3 #A37C24 #4BA324
monochromatic
#170E3F #2A1971 #3C24A3 #5132D2 #7B65DD

Accessibility & contrast

On white

10.64
#3C24A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3C24A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C24A3
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C24A3#FFFFFF#000000##FFFFFF
##3C24A31.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3c24a3;
/* rgb */ color: rgb(60, 36, 163);
/* oklch */ color: oklch(38.6% 0.189 281.5);
Tailwind
colors: {
  custom: {
    50: '#7f62bf',
    500: '#3c24a3',
    950: '#000000',
  },
}
SCSS
$custom: #3c24a3;
$custom-light: #7f62bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c24a3",
  "rgb": {
    "r": 60,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 251.339,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38565,
    "c": 0.18881,
    "h": 281.5
  },
  "luminance": 0.04867
}

Semantic roles & 50–950 ramp

primary
#3C24A3
secondary
#B0C260
accent
#E741C7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3C24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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