#3C125A#3C125A

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

Color values

HEX#3C125A
RGBrgb(60, 18, 90)
HSLhsl(275, 67%, 21%)
HSVhsv(275, 80%, 35%)
CMYKcmyk(33.3%, 80%, 0%, 64.7%)
CIE-LABlab(16.16, 34.19, -34.41)
CIE-LCHlch(16.16, 48.51, 314.82°)
OKLaboklab(29.26% 0.0731 -0.0978)
OKLCHoklch(29.26% 0.122 306.8)
XYZxyz(3.9249, 2.1315, 9.8755)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C125A #305A12
analogous
#18125A #3C125A #5A1254
triadic
#3C125A #5A3C12 #125A3C
tetradic
#3C125A #5A1812 #305A12 #12545A
square
#3C125A #5A1812 #305A12 #12545A
split-complementary
#3C125A #545A12 #125A18
monochromatic
#11051A #1A0827 #3C125A #5E1C8D #8026C0

Accessibility & contrast

On white

14.72
#3C125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C125A
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C125A#FFFFFF#000000##FFFFFF
##3C125A1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#372335
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3c125a;
/* rgb */ color: rgb(60, 18, 90);
/* oklch */ color: oklch(29.3% 0.122 306.8);
Tailwind
colors: {
  custom: {
    50: '#755589',
    500: '#3c125a',
    950: '#000000',
  },
}
SCSS
$custom: #3c125a;
$custom-light: #755589;
$custom-dark: #000000;
JSON
{
  "hex": "#3c125a",
  "rgb": {
    "r": 60,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 275,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2926,
    "c": 0.12211,
    "h": 306.8
  },
  "luminance": 0.02131
}

Semantic roles & 50–950 ramp

primary
#3C125A
secondary
#5C9335
accent
#EA3E86
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C125A

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

Preview Lab → · Contrast checker → · Palette generator →

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