#3C125E#3C125E

#3C125E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.127 H 304.8°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#3C125E
RGBrgb(60, 18, 94)
HSLhsl(273, 68%, 22%)
HSVhsv(273, 81%, 37%)
CMYKcmyk(36.2%, 80.9%, 0%, 63.1%)
CIE-LABlab(16.51, 35.22, -36.52)
CIE-LCHlch(16.51, 50.73, 313.96°)
OKLaboklab(29.61% 0.0722 -0.104)
OKLCHoklch(29.61% 0.127 304.8)
XYZxyz(4.0997, 2.2014, 10.7964)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C125E #345E12
analogous
#16125E #3C125E #5E125A
triadic
#3C125E #5E3C12 #125E3C
tetradic
#3C125E #5E1612 #345E12 #125A5E
square
#3C125E #5E1612 #345E12 #125A5E
split-complementary
#3C125E #5A5E12 #125E16
monochromatic
#10051A #1B082B #3C125E #5D1C91 #7E26C5

Accessibility & contrast

On white

14.58
#3C125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C125E
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C125E#FFFFFF#000000##FFFFFF
##3C125E1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#362537
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3c125e;
/* rgb */ color: rgb(60, 18, 94);
/* oklch */ color: oklch(29.6% 0.127 304.8);
Tailwind
colors: {
  custom: {
    50: '#76558c',
    500: '#3c125e',
    950: '#000000',
  },
}
SCSS
$custom: #3c125e;
$custom-light: #76558c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c125e",
  "rgb": {
    "r": 60,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 273.158,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29614,
    "c": 0.12658,
    "h": 304.8
  },
  "luminance": 0.02201
}

Semantic roles & 50–950 ramp

primary
#3C125E
secondary
#619635
accent
#EB3D8B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C125E

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

Preview Lab → · Contrast checker → · Palette generator →

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