#3C146E#3C146E

#3C146E is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.142 H 297.5°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#3C146E
RGBrgb(60, 20, 110)
HSLhsl(267, 69%, 25%)
HSVhsv(267, 82%, 43%)
CMYKcmyk(45.5%, 81.8%, 0%, 56.9%)
CIE-LABlab(18.31, 38.56, -44.12)
CIE-LCHlch(18.31, 58.60, 311.16°)
OKLaboklab(31.33% 0.0658 -0.1263)
OKLCHoklch(31.33% 0.142 297.5)
XYZxyz(4.9274, 2.5867, 14.9885)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C146E #466E14
analogous
#14196E #3C146E #69146E
triadic
#3C146E #6E3C14 #146E3C
tetradic
#3C146E #6E1419 #466E14 #146E69
square
#3C146E #6E1419 #466E14 #146E69
split-complementary
#3C146E #6E6914 #196E14
monochromatic
#0E051A #200B3A #3C146E #581DA2 #7427D6

Accessibility & contrast

On white

13.84
#3C146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3C146E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C146E
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C146E#FFFFFF#000000##FFFFFF
##3C146E1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#2F2D41
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3c146e;
/* rgb */ color: rgb(60, 20, 110);
/* oklch */ color: oklch(31.3% 0.142 297.5);
Tailwind
colors: {
  custom: {
    50: '#785798',
    500: '#3c146e',
    950: '#000000',
  },
}
SCSS
$custom: #3c146e;
$custom-light: #785798;
$custom-dark: #000000;
JSON
{
  "hex": "#3c146e",
  "rgb": {
    "r": 60,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 266.667,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31329,
    "c": 0.14242,
    "h": 297.5
  },
  "luminance": 0.02587
}

Semantic roles & 50–950 ramp

primary
#3C146E
secondary
#75A539
accent
#EC3C9E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3C146E

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

Preview Lab → · Contrast checker → · Palette generator →

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