#3C249F#3C249F

#3C249F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.184 H 282.2°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#3C249F
RGBrgb(60, 36, 159)
HSLhsl(252, 63%, 38%)
HSVhsv(252, 77%, 62%)
CMYKcmyk(62.3%, 77.4%, 0%, 37.6%)
CIE-LABlab(25.94, 45.01, -62.37)
CIE-LCHlch(25.94, 76.92, 305.82°)
OKLaboklab(38.15% 0.0389 -0.1799)
OKLCHoklch(38.15% 0.184 282.2)
XYZxyz(8.7504, 4.7250, 33.2451)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C249F #879F24
analogous
#244A9F #3C249F #79249F
triadic
#3C249F #9F3C24 #249F3C
tetradic
#3C249F #9F244A #879F24 #249F79
square
#3C249F #9F244A #879F24 #249F79
split-complementary
#3C249F #9F7924 #4A9F24
monochromatic
#160D3B #29196D #3C249F #4F30D0 #7A62DB

Accessibility & contrast

On white

10.80
#3C249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3C249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C249F
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C249F#FFFFFF#000000##FFFFFF
##3C249F1.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3c249f;
/* rgb */ color: rgb(60, 36, 159);
/* oklch */ color: oklch(38.2% 0.184 282.2);
Tailwind
colors: {
  custom: {
    50: '#7f62bd',
    500: '#3c249f',
    950: '#000000',
  },
}
SCSS
$custom: #3c249f;
$custom-light: #7f62bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3c249f",
  "rgb": {
    "r": 60,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 251.707,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38152,
    "c": 0.18403,
    "h": 282.2
  },
  "luminance": 0.04726
}

Semantic roles & 50–950 ramp

primary
#3C249F
secondary
#ADC15E
accent
#E642C6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3C249F

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

Preview Lab → · Contrast checker → · Palette generator →

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