#3C1948#3C1948

#3C1948 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.8% C 0.090 H 316.6°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#3C1948
RGBrgb(60, 25, 72)
HSLhsl(285, 48%, 19%)
HSVhsv(285, 65%, 28%)
CMYKcmyk(16.7%, 65.3%, 0%, 71.8%)
CIE-LABlab(16.12, 25.97, -22.22)
CIE-LCHlch(16.12, 34.17, 319.45°)
OKLaboklab(28.8% 0.0657 -0.0621)
OKLCHoklch(28.8% 0.09 316.6)
XYZxyz(3.3806, 2.1239, 6.3615)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1948 #254819
analogous
#251948 #3C1948 #48193D
triadic
#3C1948 #483C19 #19483C
tetradic
#3C1948 #482519 #254819 #193D48
square
#3C1948 #482519 #254819 #193D48
split-complementary
#3C1948 #3D4819 #194825
monochromatic
#130817 #16091B #3C1948 #622975 #8839A3

Accessibility & contrast

On white

14.74
#3C1948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1948
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1948#FFFFFF#000000##FFFFFF
##3C19481.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2649
Deuteranopia (green-blind)
#1A2947
Tritanopia (blue-blind)
#3B212D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3c1948;
/* rgb */ color: rgb(60, 25, 72);
/* oklch */ color: oklch(28.8% 0.090 316.6);
Tailwind
colors: {
  custom: {
    50: '#73587b',
    500: '#3c1948',
    950: '#000000',
  },
}
SCSS
$custom: #3c1948;
$custom-light: #73587b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1948",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 284.681,
    "s": 48.454,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28799,
    "c": 0.09043,
    "h": 316.6
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#3C1948
secondary
#4F7E3E
accent
#D85073
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3C1948

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

Preview Lab → · Contrast checker → · Palette generator →

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