#3C124C#3C124C

#3C124C is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.106 H 315.1°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#3C124C
RGBrgb(60, 18, 76)
HSLhsl(283, 62%, 18%)
HSVhsv(283, 76%, 30%)
CMYKcmyk(21.1%, 76.3%, 0%, 70.2%)
CIE-LABlab(15.04, 30.71, -26.72)
CIE-LCHlch(15.04, 40.71, 318.98°)
OKLaboklab(28.1% 0.0754 -0.0752)
OKLCHoklch(28.1% 0.106 315.1)
XYZxyz(3.3841, 1.9152, 7.0275)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C124C #224C12
analogous
#1F124C #3C124C #4C123F
triadic
#3C124C #4C3C12 #124C3C
tetradic
#3C124C #4C1F12 #224C12 #123F4C
square
#3C124C #4C1F12 #224C12 #123F4C
split-complementary
#3C124C #3F4C12 #124C1F
monochromatic
#140619 #15061B #3C124C #631E7D #8A29AF

Accessibility & contrast

On white

15.18
#3C124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3C124C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C124C
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C124C#FFFFFF#000000##FFFFFF
##3C124C1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#10274B
Tritanopia (blue-blind)
#3B1E2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3c124c;
/* rgb */ color: rgb(60, 18, 76);
/* oklch */ color: oklch(28.1% 0.106 315.1);
Tailwind
colors: {
  custom: {
    50: '#74547e',
    500: '#3c124c',
    950: '#000000',
  },
}
SCSS
$custom: #3c124c;
$custom-light: #74547e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c124c",
  "rgb": {
    "r": 60,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 283.448,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28103,
    "c": 0.10648,
    "h": 315.1
  },
  "luminance": 0.01915
}

Semantic roles & 50–950 ramp

primary
#3C124C
secondary
#4B8535
accent
#E54370
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3C124C

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

Preview Lab → · Contrast checker → · Palette generator →

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