#3C249B#3C249B

#3C249B is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.179 H 282.9°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#3C249B
RGBrgb(60, 36, 155)
HSLhsl(252, 62%, 37%)
HSVhsv(252, 77%, 61%)
CMYKcmyk(61.3%, 76.8%, 0%, 39.2%)
CIE-LABlab(25.53, 43.79, -60.60)
CIE-LCHlch(25.53, 74.77, 305.85°)
OKLaboklab(37.74% 0.04 -0.1747)
OKLCHoklch(37.74% 0.179 282.9)
XYZxyz(8.4089, 4.5884, 31.4465)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C249B #839B24
analogous
#24479B #3C249B #78249B
triadic
#3C249B #9B3C24 #249B3C
tetradic
#3C249B #9B2447 #839B24 #249B78
square
#3C249B #9B2447 #839B24 #249B78
split-complementary
#3C249B #9B7824 #479B24
monochromatic
#160D38 #291869 #3C249B #4F30CD #785FDA

Accessibility & contrast

On white

10.95
#3C249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3C249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C249B
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C249B#FFFFFF#000000##FFFFFF
##3C249B1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c249b;
/* rgb */ color: rgb(60, 36, 155);
/* oklch */ color: oklch(37.7% 0.179 282.9);
Tailwind
colors: {
  custom: {
    50: '#7e62ba',
    500: '#3c249b',
    950: '#000000',
  },
}
SCSS
$custom: #3c249b;
$custom-light: #7e62ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3c249b",
  "rgb": {
    "r": 60,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 252.101,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37743,
    "c": 0.17922,
    "h": 282.9
  },
  "luminance": 0.04589
}

Semantic roles & 50–950 ramp

primary
#3C249B
secondary
#ABBF5C
accent
#E542C5
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C249B

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

Preview Lab → · Contrast checker → · Palette generator →

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