#3C0842#3C0842

#3C0842 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.3% C 0.109 H 323.3°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#3C0842
RGBrgb(60, 8, 66)
HSLhsl(294, 78%, 15%)
HSVhsv(294, 88%, 26%)
CMYKcmyk(9.1%, 87.9%, 0%, 74.1%)
CIE-LABlab(12.78, 32.77, -23.37)
CIE-LCHlch(12.78, 40.25, 324.51°)
OKLaboklab(26.26% 0.0877 -0.0653)
OKLCHoklch(26.26% 0.109 323.3)
XYZxyz(2.9336, 1.5279, 5.2936)
Luminance0.0153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0842 #0E4208
analogous
#1F0842 #3C0842 #42082B
triadic
#3C0842 #423C08 #08423C
tetradic
#3C0842 #421F08 #0E4208 #082B42
square
#3C0842 #421F08 #0E4208 #082B42
split-complementary
#3C0842 #2B4208 #08421F
monochromatic
#19031B #19031B #3C0842 #6E0F79 #9F15AF

Accessibility & contrast

On white

16.08
#3C0842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3C0842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0842
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0842#FFFFFF#000000##FFFFFF
##3C08421.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D44
Deuteranopia (green-blind)
#122341
Tritanopia (blue-blind)
#3D1425
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3c0842;
/* rgb */ color: rgb(60, 8, 66);
/* oklch */ color: oklch(26.3% 0.109 323.3);
Tailwind
colors: {
  custom: {
    50: '#744f77',
    500: '#3c0842',
    950: '#000000',
  },
}
SCSS
$custom: #3c0842;
$custom-light: #744f77;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0842",
  "rgb": {
    "r": 60,
    "g": 8,
    "b": 66
  },
  "hsl": {
    "h": 293.793,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26261,
    "c": 0.10935,
    "h": 323.3
  },
  "luminance": 0.01528
}

Semantic roles & 50–950 ramp

primary
#3C0842
secondary
#2F8025
accent
#F53347
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3C0842

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

Preview Lab → · Contrast checker → · Palette generator →

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