#3C1CA8#3C1CA8

#3C1CA8 is a dark, highly saturated violet. Relative luminance 0.046; OKLCH L 38.2% C 0.201 H 281.6°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#3C1CA8
RGBrgb(60, 28, 168)
HSLhsl(254, 71%, 38%)
HSVhsv(254, 83%, 66%)
CMYKcmyk(64.3%, 83.3%, 0%, 34.1%)
CIE-LABlab(25.62, 51.39, -68.36)
CIE-LCHlch(25.62, 85.52, 306.93°)
OKLaboklab(38.22% 0.0406 -0.1972)
OKLCHoklch(38.22% 0.201 281.6)
XYZxyz(9.3444, 4.6176, 37.4371)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1CA8 #88A81C
analogous
#1C42A8 #3C1CA8 #821CA8
triadic
#3C1CA8 #A83C1C #1CA83C
tetradic
#3C1CA8 #A81C42 #88A81C #1CA882
square
#3C1CA8 #A81C42 #88A81C #1CA882
split-complementary
#3C1CA8 #A8821C #42A81C
monochromatic
#170B3F #291374 #3C1CA8 #5026DB #7A5BE4

Accessibility & contrast

On white

10.92
#3C1CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3C1CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1CA8
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1CA8#FFFFFF#000000##FFFFFF
##3C1CA81.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c1ca8;
/* rgb */ color: rgb(60, 28, 168);
/* oklch */ color: oklch(38.2% 0.201 281.6);
Tailwind
colors: {
  custom: {
    50: '#815fc3',
    500: '#3c1ca8',
    950: '#000000',
  },
}
SCSS
$custom: #3c1ca8;
$custom-light: #815fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1ca8",
  "rgb": {
    "r": 60,
    "g": 28,
    "b": 168
  },
  "hsl": {
    "h": 253.714,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38216,
    "c": 0.20138,
    "h": 281.6
  },
  "luminance": 0.04618
}

Semantic roles & 50–950 ramp

primary
#3C1CA8
secondary
#AEC758
accent
#EE3AC5
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3C1CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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