#3C1E89#3C1E89

#3C1E89 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.164 H 287.5°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#3C1E89
RGBrgb(60, 30, 137)
HSLhsl(257, 64%, 33%)
HSVhsv(257, 78%, 54%)
CMYKcmyk(56.2%, 78.1%, 0%, 46.3%)
CIE-LABlab(22.64, 41.46, -54.22)
CIE-LCHlch(22.64, 68.26, 307.40°)
OKLaboklab(35.17% 0.0493 -0.156)
OKLCHoklch(35.17% 0.164 287.5)
XYZxyz(6.8418, 3.6950, 24.0148)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1E89 #6B891E
analogous
#1E3689 #3C1E89 #711E89
triadic
#3C1E89 #893C1E #1E893C
tetradic
#3C1E89 #891E36 #6B891E #1E8971
square
#3C1E89 #891E36 #6B891E #1E8971
split-complementary
#3C1E89 #89711E #36891E
monochromatic
#100825 #261357 #3C1E89 #5229BB #724AD7

Accessibility & contrast

On white

12.08
#3C1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1E89
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1E89#FFFFFF#000000##FFFFFF
##3C1E891.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#1B3C52
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3c1e89;
/* rgb */ color: rgb(60, 30, 137);
/* oklch */ color: oklch(35.2% 0.164 287.5);
Tailwind
colors: {
  custom: {
    50: '#7b5eac',
    500: '#3c1e89',
    950: '#000000',
  },
}
SCSS
$custom: #3c1e89;
$custom-light: #7b5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1e89",
  "rgb": {
    "r": 60,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 256.822,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35167,
    "c": 0.16363,
    "h": 287.5
  },
  "luminance": 0.03695
}

Semantic roles & 50–950 ramp

primary
#3C1E89
secondary
#9ABA49
accent
#E741B8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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