#3C0843#3C0843

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

Color values

HEX#3C0843
RGBrgb(60, 8, 67)
HSLhsl(293, 79%, 15%)
HSVhsv(293, 88%, 26%)
CMYKcmyk(10.4%, 88.1%, 0%, 73.7%)
CIE-LABlab(12.86, 32.98, -23.95)
CIE-LCHlch(12.86, 40.76, 324.01°)
OKLaboklab(26.34% 0.0876 -0.067)
OKLCHoklch(26.34% 0.11 322.6)
XYZxyz(2.9633, 1.5397, 5.4502)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0843 #0F4308
analogous
#1E0843 #3C0843 #43082D
triadic
#3C0843 #433C08 #08433C
tetradic
#3C0843 #431E08 #0F4308 #082D43
square
#3C0843 #431E08 #0F4308 #082D43
split-complementary
#3C0843 #2D4308 #08431E
monochromatic
#18031B #18031B #3C0843 #6D0F7A #9E15B0

Accessibility & contrast

On white

16.06
#3C0843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0843
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0843#FFFFFF#000000##FFFFFF
##3C08431.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E45
Deuteranopia (green-blind)
#122342
Tritanopia (blue-blind)
#3D1426
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3c0843;
/* rgb */ color: rgb(60, 8, 67);
/* oklch */ color: oklch(26.3% 0.110 322.6);
Tailwind
colors: {
  custom: {
    50: '#744f77',
    500: '#3c0843',
    950: '#000000',
  },
}
SCSS
$custom: #3c0843;
$custom-light: #744f77;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0843",
  "rgb": {
    "r": 60,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 292.881,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26338,
    "c": 0.11028,
    "h": 322.6
  },
  "luminance": 0.0154
}

Semantic roles & 50–950 ramp

primary
#3C0843
secondary
#308125
accent
#F5334A
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3C0843

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

Preview Lab → · Contrast checker → · Palette generator →

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