#3C125B#3C125B

#3C125B is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.123 H 306.3°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#3C125B
RGBrgb(60, 18, 91)
HSLhsl(275, 67%, 21%)
HSVhsv(275, 80%, 36%)
CMYKcmyk(34.1%, 80.2%, 0%, 64.3%)
CIE-LABlab(16.25, 34.45, -34.94)
CIE-LCHlch(16.25, 49.06, 314.59°)
OKLaboklab(29.35% 0.0729 -0.0993)
OKLCHoklch(29.35% 0.123 306.3)
XYZxyz(3.9677, 2.1486, 10.1012)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C125B #315B12
analogous
#18125B #3C125B #5B1256
triadic
#3C125B #5B3C12 #125B3C
tetradic
#3C125B #5B1812 #315B12 #12565B
square
#3C125B #5B1812 #315B12 #12565B
split-complementary
#3C125B #565B12 #125B18
monochromatic
#11051A #1A0828 #3C125B #5E1C8E #7F26C1

Accessibility & contrast

On white

14.69
#3C125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3C125B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C125B
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C125B#FFFFFF#000000##FFFFFF
##3C125B1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#00285A
Tritanopia (blue-blind)
#372435
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3c125b;
/* rgb */ color: rgb(60, 18, 91);
/* oklch */ color: oklch(29.3% 0.123 306.3);
Tailwind
colors: {
  custom: {
    50: '#75558a',
    500: '#3c125b',
    950: '#000000',
  },
}
SCSS
$custom: #3c125b;
$custom-light: #75558a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c125b",
  "rgb": {
    "r": 60,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 274.521,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29347,
    "c": 0.12322,
    "h": 306.3
  },
  "luminance": 0.02149
}

Semantic roles & 50–950 ramp

primary
#3C125B
secondary
#5D9335
accent
#EA3E87
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C125B

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

Preview Lab → · Contrast checker → · Palette generator →

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