#3C248E#3C248E

#3C248E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.163 H 285.4°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#3C248E
RGBrgb(60, 36, 142)
HSLhsl(254, 60%, 35%)
HSVhsv(254, 75%, 56%)
CMYKcmyk(57.7%, 74.6%, 0%, 44.3%)
CIE-LABlab(24.24, 39.81, -54.70)
CIE-LCHlch(24.24, 67.65, 306.04°)
OKLaboklab(36.45% 0.0432 -0.1575)
OKLCHoklch(36.45% 0.163 285.4)
XYZxyz(7.3754, 4.1750, 26.0032)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C248E #768E24
analogous
#24418E #3C248E #71248E
triadic
#3C248E #8E3C24 #248E3C
tetradic
#3C248E #8E2441 #768E24 #248E71
square
#3C248E #8E2441 #768E24 #248E71
split-complementary
#3C248E #8E7124 #418E24
monochromatic
#130B2C #27185D #3C248E #5130BF #7458D5

Accessibility & contrast

On white

11.44
#3C248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3C248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C248E
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C248E#FFFFFF#000000##FFFFFF
##3C248E1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#144157
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3c248e;
/* rgb */ color: rgb(60, 36, 142);
/* oklch */ color: oklch(36.4% 0.163 285.4);
Tailwind
colors: {
  custom: {
    50: '#7b61b0',
    500: '#3c248e',
    950: '#000000',
  },
}
SCSS
$custom: #3c248e;
$custom-light: #7b61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c248e",
  "rgb": {
    "r": 60,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 253.585,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36446,
    "c": 0.1633,
    "h": 285.4
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#3C248E
secondary
#A2B955
accent
#E345BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #3C248E

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

Preview Lab → · Contrast checker → · Palette generator →

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