#3C1D9C#3C1D9C

#3C1D9C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.187 H 283.6°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#3C1D9C
RGBrgb(60, 29, 156)
HSLhsl(255, 69%, 36%)
HSVhsv(255, 81%, 61%)
CMYKcmyk(61.5%, 81.4%, 0%, 38.8%)
CIE-LABlab(24.45, 47.50, -63.00)
CIE-LCHlch(24.45, 78.90, 307.02°)
OKLaboklab(37.02% 0.0441 -0.1816)
OKLCHoklch(37.02% 0.187 283.6)
XYZxyz(8.3017, 4.2391, 31.8268)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1D9C #7D9C1D
analogous
#1D3D9C #3C1D9C #7C1D9C
triadic
#3C1D9C #9C3C1D #1D9C3C
tetradic
#3C1D9C #9C1D3D #7D9C1D #1D9C7C
square
#3C1D9C #9C1D3D #7D9C1D #1D9C7C
split-complementary
#3C1D9C #9C7C1D #3D9C1D
monochromatic
#140A35 #281368 #3C1D9C #5027D0 #7654DF

Accessibility & contrast

On white

11.36
#3C1D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3C1D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1D9C
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1D9C#FFFFFF#000000##FFFFFF
##3C1D9C1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c1d9c;
/* rgb */ color: rgb(60, 29, 156);
/* oklch */ color: oklch(37.0% 0.187 283.6);
Tailwind
colors: {
  custom: {
    50: '#7f5eba',
    500: '#3c1d9c',
    950: '#000000',
  },
}
SCSS
$custom: #3c1d9c;
$custom-light: #7f5eba;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1d9c",
  "rgb": {
    "r": 60,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 254.646,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3702,
    "c": 0.18691,
    "h": 283.6
  },
  "luminance": 0.0424
}

Semantic roles & 50–950 ramp

primary
#3C1D9C
secondary
#A7C252
accent
#EB3CC1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C1D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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