#3C1F92#3C1F92

#3C1F92 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.173 H 285.4°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#3C1F92
RGBrgb(60, 31, 146)
HSLhsl(255, 65%, 35%)
HSVhsv(255, 79%, 57%)
CMYKcmyk(58.9%, 78.8%, 0%, 42.7%)
CIE-LABlab(23.72, 43.62, -58.04)
CIE-LCHlch(23.72, 72.60, 306.93°)
OKLaboklab(36.2% 0.046 -0.1672)
OKLCHoklch(36.2% 0.173 285.4)
XYZxyz(7.5402, 4.0155, 27.5663)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1F92 #75921F
analogous
#1F3C92 #3C1F92 #751F92
triadic
#3C1F92 #923C1F #1F923C
tetradic
#3C1F92 #921F3C #75921F #1F9275
square
#3C1F92 #921F3C #75921F #1F9275
split-complementary
#3C1F92 #92751F #3C921F
monochromatic
#130A2D #271460 #3C1F92 #512AC4 #7451DA

Accessibility & contrast

On white

11.65
#3C1F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#3C1F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1F92
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1F92#FFFFFF#000000##FFFFFF
##3C1F921.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#0E4058
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3c1f92;
/* rgb */ color: rgb(60, 31, 146);
/* oklch */ color: oklch(36.2% 0.173 285.4);
Tailwind
colors: {
  custom: {
    50: '#7d5fb3',
    500: '#3c1f92',
    950: '#000000',
  },
}
SCSS
$custom: #3c1f92;
$custom-light: #7d5fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1f92",
  "rgb": {
    "r": 60,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 255.13,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36202,
    "c": 0.17337,
    "h": 285.4
  },
  "luminance": 0.04016
}

Semantic roles & 50–950 ramp

primary
#3C1F92
secondary
#A2BD50
accent
#E840BE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C1F92

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

Preview Lab → · Contrast checker → · Palette generator →

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