#3C0438#3C0438

#3C0438 is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.1% C 0.106 H 331.5°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#3C0438
RGBrgb(60, 4, 56)
HSLhsl(304, 88%, 13%)
HSVhsv(304, 93%, 24%)
CMYKcmyk(0%, 93.3%, 6.7%, 76.5%)
CIE-LABlab(11.51, 32.49, -18.28)
CIE-LCHlch(11.51, 37.28, 330.64°)
OKLaboklab(25.13% 0.093 -0.0504)
OKLCHoklch(25.13% 0.106 331.5)
XYZxyz(2.6207, 1.3332, 3.8599)
Luminance0.0133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0438 #043C08
analogous
#24043C #3C0438 #3C041C
triadic
#3C0438 #383C04 #04383C
tetradic
#3C0438 #3C2404 #043C08 #041C3C
square
#3C0438 #3C2404 #043C08 #041C3C
split-complementary
#3C0438 #1C3C04 #043C24
monochromatic
#1D021B #1D021B #3C0438 #75086E #AF0CA3

Accessibility & contrast

On white

16.58
#3C0438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#3C0438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0438
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0438#FFFFFF#000000##FFFFFF
##3C04381.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A39
Deuteranopia (green-blind)
#172137
Tritanopia (blue-blind)
#3F0B1E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3c0438;
/* rgb */ color: rgb(60, 4, 56);
/* oklch */ color: oklch(25.1% 0.106 331.5);
Tailwind
colors: {
  custom: {
    50: '#744d6f',
    500: '#3c0438',
    950: '#000000',
  },
}
SCSS
$custom: #3c0438;
$custom-light: #744d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0438",
  "rgb": {
    "r": 60,
    "g": 4,
    "b": 56
  },
  "hsl": {
    "h": 304.286,
    "s": 87.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.25128,
    "c": 0.1058,
    "h": 331.5
  },
  "luminance": 0.01333
}

Semantic roles & 50–950 ramp

primary
#3C0438
secondary
#1E7E25
accent
#FE392A
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #3C0438

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

Preview Lab → · Contrast checker → · Palette generator →

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