#3C1B95#3C1B95

#3C1B95 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.181 H 285.3°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#3C1B95
RGBrgb(60, 27, 149)
HSLhsl(256, 69%, 35%)
HSVhsv(256, 82%, 58%)
CMYKcmyk(59.7%, 81.9%, 0%, 41.6%)
CIE-LABlab(23.39, 46.38, -60.45)
CIE-LCHlch(23.39, 76.19, 307.50°)
OKLaboklab(36.06% 0.0476 -0.1742)
OKLCHoklch(36.06% 0.181 285.3)
XYZxyz(7.6786, 3.9140, 28.7788)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1B95 #74951B
analogous
#1B3795 #3C1B95 #791B95
triadic
#3C1B95 #953C1B #1B953C
tetradic
#3C1B95 #951B37 #74951B #1B9579
square
#3C1B95 #951B37 #74951B #1B9579
split-complementary
#3C1B95 #95791B #37951B
monochromatic
#12082D #271261 #3C1B95 #5124C9 #744CDF

Accessibility & contrast

On white

11.78
#3C1B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3C1B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1B95
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1B95#FFFFFF#000000##FFFFFF
##3C1B951.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003493
Tritanopia (blue-blind)
#074059
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3c1b95;
/* rgb */ color: rgb(60, 27, 149);
/* oklch */ color: oklch(36.1% 0.181 285.3);
Tailwind
colors: {
  custom: {
    50: '#7d5db5',
    500: '#3c1b95',
    950: '#000000',
  },
}
SCSS
$custom: #3c1b95;
$custom-light: #7d5db5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1b95",
  "rgb": {
    "r": 60,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 256.23,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36061,
    "c": 0.18056,
    "h": 285.3
  },
  "luminance": 0.03914
}

Semantic roles & 50–950 ramp

primary
#3C1B95
secondary
#A1C14B
accent
#EC3CBC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3C1B95

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

Preview Lab → · Contrast checker → · Palette generator →

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