#3C1C9F#3C1C9F

#3C1C9F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.191 H 283.2°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#3C1C9F
RGBrgb(60, 28, 159)
HSLhsl(255, 70%, 37%)
HSVhsv(255, 82%, 62%)
CMYKcmyk(62.3%, 82.4%, 0%, 37.6%)
CIE-LABlab(24.62, 48.81, -64.54)
CIE-LCHlch(24.62, 80.92, 307.10°)
OKLaboklab(37.24% 0.0437 -0.1861)
OKLCHoklch(37.24% 0.191 283.2)
XYZxyz(8.5348, 4.2938, 33.1732)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1C9F #7F9F1C
analogous
#1C3E9F #3C1C9F #7D1C9F
triadic
#3C1C9F #9F3C1C #1C9F3C
tetradic
#3C1C9F #9F1C3E #7F9F1C #1C9F7D
square
#3C1C9F #9F1C3E #7F9F1C #1C9F7D
split-complementary
#3C1C9F #9F7D1C #3E9F1C
monochromatic
#150A37 #28136B #3C1C9F #5025D3 #7754E1

Accessibility & contrast

On white

11.30
#3C1C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3C1C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1C9F
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1C9F#FFFFFF#000000##FFFFFF
##3C1C9F1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3c1c9f;
/* rgb */ color: rgb(60, 28, 159);
/* oklch */ color: oklch(37.2% 0.191 283.2);
Tailwind
colors: {
  custom: {
    50: '#7f5ebd',
    500: '#3c1c9f',
    950: '#000000',
  },
}
SCSS
$custom: #3c1c9f;
$custom-light: #7f5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1c9f",
  "rgb": {
    "r": 60,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 254.656,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37236,
    "c": 0.19117,
    "h": 283.2
  },
  "luminance": 0.04294
}

Semantic roles & 50–950 ramp

primary
#3C1C9F
secondary
#A8C453
accent
#ED3BC1
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C1C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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