#3C124E#3C124E

#3C124E is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.3% C 0.109 H 313.8°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#3C124E
RGBrgb(60, 18, 78)
HSLhsl(282, 63%, 19%)
HSVhsv(282, 77%, 31%)
CMYKcmyk(23.1%, 76.9%, 0%, 69.4%)
CIE-LABlab(15.19, 31.20, -27.84)
CIE-LCHlch(15.19, 41.82, 318.25°)
OKLaboklab(28.26% 0.0752 -0.0785)
OKLCHoklch(28.26% 0.109 313.8)
XYZxyz(3.4547, 1.9434, 7.3994)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C124E #244E12
analogous
#1E124E #3C124E #4E1242
triadic
#3C124E #4E3C12 #124E3C
tetradic
#3C124E #4E1E12 #244E12 #12424E
square
#3C124E #4E1E12 #244E12 #12424E
split-complementary
#3C124E #424E12 #124E1E
monochromatic
#130619 #16071C #3C124E #621D80 #8929B1

Accessibility & contrast

On white

15.12
#3C124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C124E
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C124E#FFFFFF#000000##FFFFFF
##3C124E1.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#0E274D
Tritanopia (blue-blind)
#3A1E2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3c124e;
/* rgb */ color: rgb(60, 18, 78);
/* oklch */ color: oklch(28.3% 0.109 313.8);
Tailwind
colors: {
  custom: {
    50: '#745480',
    500: '#3c124e',
    950: '#000000',
  },
}
SCSS
$custom: #3c124e;
$custom-light: #745480;
$custom-dark: #000000;
JSON
{
  "hex": "#3c124e",
  "rgb": {
    "r": 60,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 282,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28259,
    "c": 0.10869,
    "h": 313.8
  },
  "luminance": 0.01943
}

Semantic roles & 50–950 ramp

primary
#3C124E
secondary
#4D8735
accent
#E64273
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3C124E

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

Preview Lab → · Contrast checker → · Palette generator →

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