#3C249E#3C249E

#3C249E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.183 H 282.4°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#3C249E
RGBrgb(60, 36, 158)
HSLhsl(252, 63%, 38%)
HSVhsv(252, 77%, 62%)
CMYKcmyk(62%, 77.2%, 0%, 38%)
CIE-LABlab(25.83, 44.71, -61.93)
CIE-LCHlch(25.83, 76.38, 305.82°)
OKLaboklab(38.05% 0.0392 -0.1786)
OKLCHoklch(38.05% 0.183 282.4)
XYZxyz(8.6640, 4.6904, 32.7899)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C249E #869E24
analogous
#24499E #3C249E #79249E
triadic
#3C249E #9E3C24 #249E3C
tetradic
#3C249E #9E2449 #869E24 #249E79
square
#3C249E #9E2449 #869E24 #249E79
split-complementary
#3C249E #9E7924 #499E24
monochromatic
#160D3A #29196C #3C249E #4F2FD0 #7961DB

Accessibility & contrast

On white

10.83
#3C249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3C249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C249E
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C249E#FFFFFF#000000##FFFFFF
##3C249E1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3c249e;
/* rgb */ color: rgb(60, 36, 158);
/* oklch */ color: oklch(38.0% 0.183 282.4);
Tailwind
colors: {
  custom: {
    50: '#7e62bc',
    500: '#3c249e',
    950: '#000000',
  },
}
SCSS
$custom: #3c249e;
$custom-light: #7e62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c249e",
  "rgb": {
    "r": 60,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 251.803,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38049,
    "c": 0.18283,
    "h": 282.4
  },
  "luminance": 0.04691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C249E

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

Preview Lab → · Contrast checker → · Palette generator →

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