#3C124F#3C124F

#3C124F is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.3% C 0.110 H 313.1°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#3C124F
RGBrgb(60, 18, 79)
HSLhsl(281, 63%, 19%)
HSVhsv(281, 77%, 31%)
CMYKcmyk(24.1%, 77.2%, 0%, 69%)
CIE-LABlab(15.26, 31.44, -28.40)
CIE-LCHlch(15.26, 42.37, 317.90°)
OKLaboklab(28.34% 0.0751 -0.0801)
OKLCHoklch(28.34% 0.11 313.1)
XYZxyz(3.4908, 1.9579, 7.5896)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C124F #254F12
analogous
#1E124F #3C124F #4F1244
triadic
#3C124F #4F3C12 #124F3C
tetradic
#3C124F #4F1E12 #254F12 #12444F
square
#3C124F #4F1E12 #254F12 #12444F
split-complementary
#3C124F #444F12 #124F1E
monochromatic
#130619 #16071D #3C124F #621D81 #8829B3

Accessibility & contrast

On white

15.09
#3C124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C124F
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C124F#FFFFFF#000000##FFFFFF
##3C124F1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#0D274E
Tritanopia (blue-blind)
#3A1F2F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3c124f;
/* rgb */ color: rgb(60, 18, 79);
/* oklch */ color: oklch(28.3% 0.110 313.1);
Tailwind
colors: {
  custom: {
    50: '#745481',
    500: '#3c124f',
    950: '#000000',
  },
}
SCSS
$custom: #3c124f;
$custom-light: #745481;
$custom-dark: #000000;
JSON
{
  "hex": "#3c124f",
  "rgb": {
    "r": 60,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 281.311,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28339,
    "c": 0.10981,
    "h": 313.1
  },
  "luminance": 0.01958
}

Semantic roles & 50–950 ramp

primary
#3C124F
secondary
#4F8835
accent
#E64275
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3C124F

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

Preview Lab → · Contrast checker → · Palette generator →

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