#3C248F#3C248F

#3C248F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.165 H 285.1°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#3C248F
RGBrgb(60, 36, 143)
HSLhsl(253, 60%, 35%)
HSVhsv(253, 75%, 56%)
CMYKcmyk(58%, 74.8%, 0%, 43.9%)
CIE-LABlab(24.34, 40.12, -55.16)
CIE-LCHlch(24.34, 68.21, 306.03°)
OKLaboklab(36.54% 0.043 -0.1588)
OKLCHoklch(36.54% 0.165 285.1)
XYZxyz(7.4508, 4.2051, 26.4003)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C248F #778F24
analogous
#24418F #3C248F #72248F
triadic
#3C248F #8F3C24 #248F3C
tetradic
#3C248F #8F2441 #778F24 #248F72
square
#3C248F #8F2441 #778F24 #248F72
split-complementary
#3C248F #8F7224 #418F24
monochromatic
#130B2D #27185E #3C248F #5130C0 #7458D5

Accessibility & contrast

On white

11.41
#3C248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C248F
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C248F#FFFFFF#000000##FFFFFF
##3C248F1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#124157
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3c248f;
/* rgb */ color: rgb(60, 36, 143);
/* oklch */ color: oklch(36.5% 0.165 285.1);
Tailwind
colors: {
  custom: {
    50: '#7c61b1',
    500: '#3c248f',
    950: '#000000',
  },
}
SCSS
$custom: #3c248f;
$custom-light: #7c61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c248f",
  "rgb": {
    "r": 60,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 253.458,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36544,
    "c": 0.16454,
    "h": 285.1
  },
  "luminance": 0.04206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C248F

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

Preview Lab → · Contrast checker → · Palette generator →

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