#3C1DA7#3C1DA7

#3C1DA7 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.2% C 0.199 H 281.7°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#3C1DA7
RGBrgb(60, 29, 167)
HSLhsl(253, 70%, 38%)
HSVhsv(253, 83%, 65%)
CMYKcmyk(64.1%, 82.6%, 0%, 34.5%)
CIE-LABlab(25.65, 50.68, -67.70)
CIE-LCHlch(25.65, 84.57, 306.82°)
OKLaboklab(38.21% 0.0405 -0.1953)
OKLCHoklch(38.21% 0.199 281.7)
XYZxyz(9.2757, 4.6287, 36.9564)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1DA7 #88A71D
analogous
#1D43A7 #3C1DA7 #811DA7
triadic
#3C1DA7 #A73C1D #1DA73C
tetradic
#3C1DA7 #A71D43 #88A71D #1DA781
square
#3C1DA7 #A71D43 #88A71D #1DA781
split-complementary
#3C1DA7 #A7811D #43A71D
monochromatic
#170B3F #291473 #3C1DA7 #5028DA #7A5CE3

Accessibility & contrast

On white

10.90
#3C1DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3C1DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1DA7
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1DA7#FFFFFF#000000##FFFFFF
##3C1DA71.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AB
Deuteranopia (green-blind)
#0038A5
Tritanopia (blue-blind)
#004864
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3c1da7;
/* rgb */ color: rgb(60, 29, 167);
/* oklch */ color: oklch(38.2% 0.199 281.7);
Tailwind
colors: {
  custom: {
    50: '#815fc2',
    500: '#3c1da7',
    950: '#000000',
  },
}
SCSS
$custom: #3c1da7;
$custom-light: #815fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1da7",
  "rgb": {
    "r": 60,
    "g": 29,
    "b": 167
  },
  "hsl": {
    "h": 253.478,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38206,
    "c": 0.19948,
    "h": 281.7
  },
  "luminance": 0.04629
}

Semantic roles & 50–950 ramp

primary
#3C1DA7
secondary
#AEC759
accent
#ED3BC5
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3C1DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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