#3C249D#3C249D

#3C249D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.182 H 282.5°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#3C249D
RGBrgb(60, 36, 157)
HSLhsl(252, 63%, 38%)
HSVhsv(252, 77%, 62%)
CMYKcmyk(61.8%, 77.1%, 0%, 38.4%)
CIE-LABlab(25.73, 44.40, -61.49)
CIE-LCHlch(25.73, 75.84, 305.83°)
OKLaboklab(37.95% 0.0394 -0.1773)
OKLCHoklch(37.95% 0.182 282.5)
XYZxyz(8.5783, 4.6561, 32.3384)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C249D #859D24
analogous
#24489D #3C249D #78249D
triadic
#3C249D #9D3C24 #249D3C
tetradic
#3C249D #9D2448 #859D24 #249D78
square
#3C249D #9D2448 #859D24 #249D78
split-complementary
#3C249D #9D7824 #489D24
monochromatic
#160D39 #29196B #3C249D #4F2FCF #7961DB

Accessibility & contrast

On white

10.87
#3C249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3C249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C249D
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C249D#FFFFFF#000000##FFFFFF
##3C249D1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3c249d;
/* rgb */ color: rgb(60, 36, 157);
/* oklch */ color: oklch(37.9% 0.182 282.5);
Tailwind
colors: {
  custom: {
    50: '#7e62bb',
    500: '#3c249d',
    950: '#000000',
  },
}
SCSS
$custom: #3c249d;
$custom-light: #7e62bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3c249d",
  "rgb": {
    "r": 60,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 251.901,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37947,
    "c": 0.18163,
    "h": 282.5
  },
  "luminance": 0.04657
}

Semantic roles & 50–950 ramp

primary
#3C249D
secondary
#ACC05D
accent
#E642C5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3C249D

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

Preview Lab → · Contrast checker → · Palette generator →

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