#3C123F#3C123F

#3C123F is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.2% C 0.092 H 325.0°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#3C123F
RGBrgb(60, 18, 63)
HSLhsl(296, 56%, 16%)
HSVhsv(296, 71%, 25%)
CMYKcmyk(4.8%, 71.4%, 0%, 75.3%)
CIE-LABlab(14.13, 27.74, -19.11)
CIE-LCHlch(14.13, 33.68, 325.44°)
OKLaboklab(27.16% 0.0757 -0.053)
OKLCHoklch(27.16% 0.092 325)
XYZxyz(2.9769, 1.7523, 4.8831)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C123F #153F12
analogous
#25123F #3C123F #3F122B
triadic
#3C123F #3F3C12 #123F3C
tetradic
#3C123F #3F2512 #153F12 #122B3F
square
#3C123F #3F2512 #153F12 #122B3F
split-complementary
#3C123F #2B3F12 #123F25
monochromatic
#170718 #170718 #3C123F #69206F #972D9E

Accessibility & contrast

On white

15.55
#3C123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3C123F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C123F
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C123F#FFFFFF#000000##FFFFFF
##3C123F1.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2140
Deuteranopia (green-blind)
#1A263E
Tritanopia (blue-blind)
#3D1826
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3c123f;
/* rgb */ color: rgb(60, 18, 63);
/* oklch */ color: oklch(27.2% 0.092 325.0);
Tailwind
colors: {
  custom: {
    50: '#745374',
    500: '#3c123f',
    950: '#000000',
  },
}
SCSS
$custom: #3c123f;
$custom-light: #745374;
$custom-dark: #000000;
JSON
{
  "hex": "#3c123f",
  "rgb": {
    "r": 60,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 296,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27159,
    "c": 0.09239,
    "h": 325
  },
  "luminance": 0.01752
}

Semantic roles & 50–950 ramp

primary
#3C123F
secondary
#397835
accent
#DF4953
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3C123F

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

Preview Lab → · Contrast checker → · Palette generator →

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