#3C1B9F#3C1B9F

#3C1B9F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.1% C 0.192 H 283.3°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#3C1B9F
RGBrgb(60, 27, 159)
HSLhsl(255, 71%, 36%)
HSVhsv(255, 83%, 62%)
CMYKcmyk(62.3%, 83%, 0%, 37.6%)
CIE-LABlab(24.47, 49.25, -64.79)
CIE-LCHlch(24.47, 81.38, 307.24°)
OKLaboklab(37.13% 0.0442 -0.1868)
OKLCHoklch(37.13% 0.192 283.3)
XYZxyz(8.5115, 4.2471, 33.1654)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1B9F #7E9F1B
analogous
#1B3C9F #3C1B9F #7E1B9F
triadic
#3C1B9F #9F3C1B #1B9F3C
tetradic
#3C1B9F #9F1B3C #7E9F1B #1B9F7E
square
#3C1B9F #9F1B3C #7E9F1B #1B9F7E
split-complementary
#3C1B9F #9F7E1B #3C9F1B
monochromatic
#150936 #28126B #3C1B9F #5024D3 #7653E2

Accessibility & contrast

On white

11.35
#3C1B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1B9F
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1B9F#FFFFFF#000000##FFFFFF
##3C1B9F1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c1b9f;
/* rgb */ color: rgb(60, 27, 159);
/* oklch */ color: oklch(37.1% 0.192 283.3);
Tailwind
colors: {
  custom: {
    50: '#7f5ebd',
    500: '#3c1b9f',
    950: '#000000',
  },
}
SCSS
$custom: #3c1b9f;
$custom-light: #7f5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1b9f",
  "rgb": {
    "r": 60,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 255,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37134,
    "c": 0.19198,
    "h": 283.3
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#3C1B9F
secondary
#A8C551
accent
#EE3AC1
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C1B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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