#3C1BA8#3C1BA8

#3C1BA8 is a dark, highly saturated violet. Relative luminance 0.046; OKLCH L 38.1% C 0.202 H 281.7°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#3C1BA8
RGBrgb(60, 27, 168)
HSLhsl(254, 72%, 38%)
HSVhsv(254, 84%, 66%)
CMYKcmyk(64.3%, 83.9%, 0%, 34.1%)
CIE-LABlab(25.48, 51.80, -68.59)
CIE-LCHlch(25.48, 85.95, 307.06°)
OKLaboklab(38.12% 0.0411 -0.1979)
OKLCHoklch(38.12% 0.202 281.7)
XYZxyz(9.3211, 4.5710, 37.4293)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1BA8 #87A81B
analogous
#1B40A8 #3C1BA8 #831BA8
triadic
#3C1BA8 #A83C1B #1BA83C
tetradic
#3C1BA8 #A81B40 #87A81B #1BA883
square
#3C1BA8 #A81B40 #87A81B #1BA883
split-complementary
#3C1BA8 #A8831B #40A81B
monochromatic
#160A3F #291373 #3C1BA8 #4F24DC #7A59E4

Accessibility & contrast

On white

10.97
#3C1BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3C1BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1BA8
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1BA8#FFFFFF#000000##FFFFFF
##3C1BA81.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c1ba8;
/* rgb */ color: rgb(60, 27, 168);
/* oklch */ color: oklch(38.1% 0.202 281.7);
Tailwind
colors: {
  custom: {
    50: '#815ec3',
    500: '#3c1ba8',
    950: '#000000',
  },
}
SCSS
$custom: #3c1ba8;
$custom-light: #815ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1ba8",
  "rgb": {
    "r": 60,
    "g": 27,
    "b": 168
  },
  "hsl": {
    "h": 254.043,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38119,
    "c": 0.20212,
    "h": 281.7
  },
  "luminance": 0.04572
}

Semantic roles & 50–950 ramp

primary
#3C1BA8
secondary
#ADC857
accent
#EF39C4
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3C1BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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