#3C1FA8#3C1FA8

#3C1FA8 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.199 H 281.3°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#3C1FA8
RGBrgb(60, 31, 168)
HSLhsl(253, 69%, 39%)
HSVhsv(253, 82%, 66%)
CMYKcmyk(64.3%, 81.5%, 0%, 34.1%)
CIE-LABlab(26.06, 50.08, -67.63)
CIE-LCHlch(26.06, 84.15, 306.52°)
OKLaboklab(38.52% 0.0391 -0.1951)
OKLCHoklch(38.52% 0.199 281.3)
XYZxyz(9.4191, 4.7671, 37.4620)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1FA8 #8BA81F
analogous
#1F47A8 #3C1FA8 #811FA8
triadic
#3C1FA8 #A83C1F #1FA83C
tetradic
#3C1FA8 #A81F47 #8BA81F #1FA881
square
#3C1FA8 #A81F47 #8BA81F #1FA881
split-complementary
#3C1FA8 #A8811F #47A81F
monochromatic
#170C41 #2A1574 #3C1FA8 #512CD8 #7B60E2

Accessibility & contrast

On white

10.75
#3C1FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3C1FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1FA8
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1FA8#FFFFFF#000000##FFFFFF
##3C1FA81.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3c1fa8;
/* rgb */ color: rgb(60, 31, 168);
/* oklch */ color: oklch(38.5% 0.199 281.3);
Tailwind
colors: {
  custom: {
    50: '#8160c3',
    500: '#3c1fa8',
    950: '#000000',
  },
}
SCSS
$custom: #3c1fa8;
$custom-light: #8160c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1fa8",
  "rgb": {
    "r": 60,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 252.701,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38522,
    "c": 0.19902,
    "h": 281.3
  },
  "luminance": 0.04768
}

Semantic roles & 50–950 ramp

primary
#3C1FA8
secondary
#B0C65D
accent
#EC3CC7
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3C1FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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