#3C1E8A#3C1E8A

#3C1E8A is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.165 H 287.3°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#3C1E8A
RGBrgb(60, 30, 138)
HSLhsl(257, 64%, 33%)
HSVhsv(257, 78%, 54%)
CMYKcmyk(56.5%, 78.3%, 0%, 45.9%)
CIE-LABlab(22.74, 41.75, -54.68)
CIE-LCHlch(22.74, 68.80, 307.36°)
OKLaboklab(35.27% 0.049 -0.1574)
OKLCHoklch(35.27% 0.165 287.3)
XYZxyz(6.9138, 3.7238, 24.3943)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1E8A #6C8A1E
analogous
#1E368A #3C1E8A #721E8A
triadic
#3C1E8A #8A3C1E #1E8A3C
tetradic
#3C1E8A #8A1E36 #6C8A1E #1E8A72
square
#3C1E8A #8A1E36 #6C8A1E #1E8A72
split-complementary
#3C1E8A #8A721E #368A1E
monochromatic
#100825 #261358 #3C1E8A #5229BC #724BD8

Accessibility & contrast

On white

12.04
#3C1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3C1E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1E8A
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1E8A#FFFFFF#000000##FFFFFF
##3C1E8A1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#003388
Tritanopia (blue-blind)
#1A3D53
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3c1e8a;
/* rgb */ color: rgb(60, 30, 138);
/* oklch */ color: oklch(35.3% 0.165 287.3);
Tailwind
colors: {
  custom: {
    50: '#7b5ead',
    500: '#3c1e8a',
    950: '#000000',
  },
}
SCSS
$custom: #3c1e8a;
$custom-light: #7b5ead;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1e8a",
  "rgb": {
    "r": 60,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 256.667,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35267,
    "c": 0.16483,
    "h": 287.3
  },
  "luminance": 0.03724
}

Semantic roles & 50–950 ramp

primary
#3C1E8A
secondary
#9BBA4A
accent
#E741B9
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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