#3C1946#3C1946

#3C1946 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.7% C 0.088 H 318.2°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#3C1946
RGBrgb(60, 25, 70)
HSLhsl(287, 47%, 19%)
HSVhsv(287, 64%, 27%)
CMYKcmyk(14.3%, 64.3%, 0%, 72.5%)
CIE-LABlab(15.99, 25.48, -21.04)
CIE-LCHlch(15.99, 33.05, 320.45°)
OKLaboklab(28.66% 0.0656 -0.0587)
OKLCHoklch(28.66% 0.088 318.2)
XYZxyz(3.3164, 2.0982, 6.0235)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1946 #234619
analogous
#251946 #3C1946 #461939
triadic
#3C1946 #463C19 #19463C
tetradic
#3C1946 #462519 #234619 #193946
square
#3C1946 #462519 #234619 #193946
split-complementary
#3C1946 #394619 #194625
monochromatic
#130817 #150919 #3C1946 #632973 #8939A0

Accessibility & contrast

On white

14.79
#3C1946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3C1946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1946
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1946#FFFFFF#000000##FFFFFF
##3C19461.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2547
Deuteranopia (green-blind)
#1B2945
Tritanopia (blue-blind)
#3C202C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3c1946;
/* rgb */ color: rgb(60, 25, 70);
/* oklch */ color: oklch(28.7% 0.088 318.2);
Tailwind
colors: {
  custom: {
    50: '#735879',
    500: '#3c1946',
    950: '#000000',
  },
}
SCSS
$custom: #3c1946;
$custom-light: #735879;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1946",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 70
  },
  "hsl": {
    "h": 286.667,
    "s": 47.368,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28662,
    "c": 0.08803,
    "h": 318.2
  },
  "luminance": 0.02098
}

Semantic roles & 50–950 ramp

primary
#3C1946
secondary
#4C7C3E
accent
#D7516F
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #3C1946

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

Preview Lab → · Contrast checker → · Palette generator →

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