#3C1DA8#3C1DA8

#3C1DA8 is a dark, highly saturated violet. Relative luminance 0.047; OKLCH L 38.3% C 0.201 H 281.5°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#3C1DA8
RGBrgb(60, 29, 168)
HSLhsl(253, 71%, 39%)
HSVhsv(253, 83%, 66%)
CMYKcmyk(64.3%, 82.7%, 0%, 34.1%)
CIE-LABlab(25.76, 50.96, -68.12)
CIE-LCHlch(25.76, 85.08, 306.80°)
OKLaboklab(38.32% 0.0401 -0.1966)
OKLCHoklch(38.32% 0.201 281.5)
XYZxyz(9.3685, 4.6658, 37.4451)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1DA8 #89A81D
analogous
#1D44A8 #3C1DA8 #811DA8
triadic
#3C1DA8 #A83C1D #1DA83C
tetradic
#3C1DA8 #A81D44 #89A81D #1DA881
square
#3C1DA8 #A81D44 #89A81D #1DA881
split-complementary
#3C1DA8 #A8811D #44A81D
monochromatic
#170B40 #291474 #3C1DA8 #5028DA #7A5CE3

Accessibility & contrast

On white

10.86
#3C1DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1DA8
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1DA8#FFFFFF#000000##FFFFFF
##3C1DA81.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004864
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3c1da8;
/* rgb */ color: rgb(60, 29, 168);
/* oklch */ color: oklch(38.3% 0.201 281.5);
Tailwind
colors: {
  custom: {
    50: '#815fc3',
    500: '#3c1da8',
    950: '#000000',
  },
}
SCSS
$custom: #3c1da8;
$custom-light: #815fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1da8",
  "rgb": {
    "r": 60,
    "g": 29,
    "b": 168
  },
  "hsl": {
    "h": 253.381,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38315,
    "c": 0.20061,
    "h": 281.5
  },
  "luminance": 0.04667
}

Semantic roles & 50–950 ramp

primary
#3C1DA8
secondary
#AFC75A
accent
#ED3AC5
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3C1DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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