#3C1951#3C1951

#3C1951 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.5% C 0.101 H 310.4°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#3C1951
RGBrgb(60, 25, 81)
HSLhsl(278, 53%, 21%)
HSVhsv(278, 69%, 32%)
CMYKcmyk(25.9%, 69.1%, 0%, 68.2%)
CIE-LABlab(16.75, 28.24, -27.38)
CIE-LCHlch(16.75, 39.33, 315.88°)
OKLaboklab(29.45% 0.0658 -0.0772)
OKLCHoklch(29.45% 0.101 310.4)
XYZxyz(3.6960, 2.2501, 8.0226)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1951 #2E5119
analogous
#201951 #3C1951 #51194A
triadic
#3C1951 #513C19 #19513C
tetradic
#3C1951 #512019 #2E5119 #194A51
square
#3C1951 #512019 #2E5119 #194A51
split-complementary
#3C1951 #4A5119 #195120
monochromatic
#110717 #190B22 #3C1951 #5F2780 #8136AF

Accessibility & contrast

On white

14.48
#3C1951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3C1951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1951
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1951#FFFFFF#000000##FFFFFF
##3C19511.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012853
Deuteranopia (green-blind)
#122A50
Tritanopia (blue-blind)
#392432
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3c1951;
/* rgb */ color: rgb(60, 25, 81);
/* oklch */ color: oklch(29.5% 0.101 310.4);
Tailwind
colors: {
  custom: {
    50: '#745882',
    500: '#3c1951',
    950: '#000000',
  },
}
SCSS
$custom: #3c1951;
$custom-light: #745882;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1951",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 81
  },
  "hsl": {
    "h": 277.5,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29453,
    "c": 0.1014,
    "h": 310.4
  },
  "luminance": 0.0225
}

Semantic roles & 50–950 ramp

primary
#3C1951
secondary
#5A873E
accent
#DC4C82
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3C1951

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

Preview Lab → · Contrast checker → · Palette generator →

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