#3C125F#3C125F

#3C125F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.128 H 304.3°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#3C125F
RGBrgb(60, 18, 95)
HSLhsl(273, 68%, 22%)
HSVhsv(273, 81%, 37%)
CMYKcmyk(36.8%, 81.1%, 0%, 62.7%)
CIE-LABlab(16.60, 35.48, -37.04)
CIE-LCHlch(16.60, 51.29, 313.77°)
OKLaboklab(29.7% 0.0719 -0.1055)
OKLCHoklch(29.7% 0.128 304.3)
XYZxyz(4.1449, 2.2195, 11.0343)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C125F #355F12
analogous
#15125F #3C125F #5F125C
triadic
#3C125F #5F3C12 #125F3C
tetradic
#3C125F #5F1512 #355F12 #125C5F
square
#3C125F #5F1512 #355F12 #125C5F
split-complementary
#3C125F #5C5F12 #125F15
monochromatic
#10051A #1C082C #3C125F #5C1C92 #7D25C6

Accessibility & contrast

On white

14.54
#3C125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3C125F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C125F
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C125F#FFFFFF#000000##FFFFFF
##3C125F1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#352638
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3c125f;
/* rgb */ color: rgb(60, 18, 95);
/* oklch */ color: oklch(29.7% 0.128 304.3);
Tailwind
colors: {
  custom: {
    50: '#76558d',
    500: '#3c125f',
    950: '#000000',
  },
}
SCSS
$custom: #3c125f;
$custom-light: #76558d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c125f",
  "rgb": {
    "r": 60,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 272.727,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29704,
    "c": 0.12771,
    "h": 304.3
  },
  "luminance": 0.02219
}

Semantic roles & 50–950 ramp

primary
#3C125F
secondary
#629736
accent
#EB3D8C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C125F

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

Preview Lab → · Contrast checker → · Palette generator →

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