#3C124D#3C124D

#3C124D is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.108 H 314.4°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#3C124D
RGBrgb(60, 18, 77)
HSLhsl(283, 62%, 19%)
HSVhsv(283, 77%, 30%)
CMYKcmyk(22.1%, 76.6%, 0%, 69.8%)
CIE-LABlab(15.11, 30.95, -27.28)
CIE-LCHlch(15.11, 41.26, 318.61°)
OKLaboklab(28.18% 0.0753 -0.0768)
OKLCHoklch(28.18% 0.108 314.4)
XYZxyz(3.4191, 1.9292, 7.2120)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C124D #234D12
analogous
#1E124D #3C124D #4D1240
triadic
#3C124D #4D3C12 #124D3C
tetradic
#3C124D #4D1E12 #234D12 #12404D
square
#3C124D #4D1E12 #234D12 #12404D
split-complementary
#3C124D #404D12 #124D1E
monochromatic
#130619 #15061B #3C124D #631E7F #8929B0

Accessibility & contrast

On white

15.15
#3C124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3C124D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C124D
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C124D#FFFFFF#000000##FFFFFF
##3C124D1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#0F274C
Tritanopia (blue-blind)
#3A1E2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3c124d;
/* rgb */ color: rgb(60, 18, 77);
/* oklch */ color: oklch(28.2% 0.108 314.4);
Tailwind
colors: {
  custom: {
    50: '#74547f',
    500: '#3c124d',
    950: '#000000',
  },
}
SCSS
$custom: #3c124d;
$custom-light: #74547f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c124d",
  "rgb": {
    "r": 60,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 282.712,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28181,
    "c": 0.10758,
    "h": 314.4
  },
  "luminance": 0.01929
}

Semantic roles & 50–950 ramp

primary
#3C124D
secondary
#4C8635
accent
#E54371
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3C124D

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

Preview Lab → · Contrast checker → · Palette generator →

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