#3C125D#3C125D

#3C125D is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.125 H 305.3°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#3C125D
RGBrgb(60, 18, 93)
HSLhsl(274, 68%, 22%)
HSVhsv(274, 81%, 36%)
CMYKcmyk(35.5%, 80.6%, 0%, 63.5%)
CIE-LABlab(16.42, 34.96, -35.99)
CIE-LCHlch(16.42, 50.18, 314.17°)
OKLaboklab(29.53% 0.0724 -0.1024)
OKLCHoklch(29.53% 0.125 305.3)
XYZxyz(4.0551, 2.1836, 10.5617)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C125D #335D12
analogous
#17125D #3C125D #5D1259
triadic
#3C125D #5D3C12 #125D3C
tetradic
#3C125D #5D1712 #335D12 #12595D
square
#3C125D #5D1712 #335D12 #12595D
split-complementary
#3C125D #595D12 #125D17
monochromatic
#11051A #1B082A #3C125D #5D1C90 #7E26C4

Accessibility & contrast

On white

14.62
#3C125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C125D
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C125D#FFFFFF#000000##FFFFFF
##3C125D1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#362537
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3c125d;
/* rgb */ color: rgb(60, 18, 93);
/* oklch */ color: oklch(29.5% 0.125 305.3);
Tailwind
colors: {
  custom: {
    50: '#76558c',
    500: '#3c125d',
    950: '#000000',
  },
}
SCSS
$custom: #3c125d;
$custom-light: #76558c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c125d",
  "rgb": {
    "r": 60,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 273.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29525,
    "c": 0.12547,
    "h": 305.3
  },
  "luminance": 0.02184
}

Semantic roles & 50–950 ramp

primary
#3C125D
secondary
#609535
accent
#EA3D8A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C125D

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

Preview Lab → · Contrast checker → · Palette generator →

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