#3C1972#3C1972

#3C1972 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.142 H 295.1°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#3C1972
RGBrgb(60, 25, 114)
HSLhsl(264, 64%, 27%)
HSVhsv(264, 78%, 45%)
CMYKcmyk(47.4%, 78.1%, 0%, 55.3%)
CIE-LABlab(19.52, 37.29, -44.73)
CIE-LCHlch(19.52, 58.23, 309.82°)
OKLaboklab(32.3% 0.0601 -0.1281)
OKLCHoklch(32.3% 0.142 295.1)
XYZxyz(5.2476, 2.8707, 16.1939)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1972 #4F7219
analogous
#192272 #3C1972 #691972
triadic
#3C1972 #723C19 #19723C
tetradic
#3C1972 #721922 #4F7219 #197269
square
#3C1972 #721922 #4F7219 #197269
split-complementary
#3C1972 #726919 #227219
monochromatic
#0D0619 #220E40 #3C1972 #5624A4 #7233D2

Accessibility & contrast

On white

13.34
#3C1972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3C1972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1972
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1972#FFFFFF#000000##FFFFFF
##3C19721.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#2D3144
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3c1972;
/* rgb */ color: rgb(60, 25, 114);
/* oklch */ color: oklch(32.3% 0.142 295.1);
Tailwind
colors: {
  custom: {
    50: '#785a9b',
    500: '#3c1972',
    950: '#000000',
  },
}
SCSS
$custom: #3c1972;
$custom-light: #785a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1972",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 263.596,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32296,
    "c": 0.14153,
    "h": 295.1
  },
  "luminance": 0.02871
}

Semantic roles & 50–950 ramp

primary
#3C1972
secondary
#7EA740
accent
#E741A6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3C1972

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

Preview Lab → · Contrast checker → · Palette generator →

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