#3C0E4B#3C0E4B

#3C0E4B is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.111 H 316.3°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#3C0E4B
RGBrgb(60, 14, 75)
HSLhsl(285, 69%, 17%)
HSVhsv(285, 81%, 29%)
CMYKcmyk(20%, 81.3%, 0%, 70.6%)
CIE-LABlab(14.30, 32.33, -27.20)
CIE-LCHlch(14.30, 42.26, 319.93°)
OKLaboklab(27.56% 0.0802 -0.0766)
OKLCHoklch(27.56% 0.111 316.3)
XYZxyz(3.2903, 1.7829, 6.8261)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0E4B #1D4B0E
analogous
#1E0E4B #3C0E4B #4B0E3B
triadic
#3C0E4B #4B3C0E #0E4B3C
tetradic
#3C0E4B #4B1E0E #1D4B0E #0E3B4B
square
#3C0E4B #4B1E0E #1D4B0E #0E3B4B
split-complementary
#3C0E4B #3B4B0E #0E4B1E
monochromatic
#15051A #15051A #3C0E4B #65187F #8F21B2

Accessibility & contrast

On white

15.48
#3C0E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3C0E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0E4B
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0E4B#FFFFFF#000000##FFFFFF
##3C0E4B1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#0E264A
Tritanopia (blue-blind)
#3B1B2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3c0e4b;
/* rgb */ color: rgb(60, 14, 75);
/* oklch */ color: oklch(27.6% 0.111 316.3);
Tailwind
colors: {
  custom: {
    50: '#74527e',
    500: '#3c0e4b',
    950: '#000000',
  },
}
SCSS
$custom: #3c0e4b;
$custom-light: #74527e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0e4b",
  "rgb": {
    "r": 60,
    "g": 14,
    "b": 75
  },
  "hsl": {
    "h": 285.246,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27557,
    "c": 0.11093,
    "h": 316.3
  },
  "luminance": 0.01783
}

Semantic roles & 50–950 ramp

primary
#3C0E4B
secondary
#44862F
accent
#EB3C67
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3C0E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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