#3C125C#3C125C

#3C125C is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.124 H 305.8°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#3C125C
RGBrgb(60, 18, 92)
HSLhsl(274, 67%, 22%)
HSVhsv(274, 80%, 36%)
CMYKcmyk(34.8%, 80.4%, 0%, 63.9%)
CIE-LABlab(16.34, 34.70, -35.47)
CIE-LCHlch(16.34, 49.62, 314.38°)
OKLaboklab(29.44% 0.0727 -0.1009)
OKLCHoklch(29.44% 0.124 305.8)
XYZxyz(4.0111, 2.1660, 10.3299)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C125C #325C12
analogous
#17125C #3C125C #5C1257
triadic
#3C125C #5C3C12 #125C3C
tetradic
#3C125C #5C1712 #325C12 #12575C
square
#3C125C #5C1712 #325C12 #12575C
split-complementary
#3C125C #575C12 #125C17
monochromatic
#11051A #1B0829 #3C125C #5D1C8F #7F26C2

Accessibility & contrast

On white

14.65
#3C125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C125C
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C125C#FFFFFF#000000##FFFFFF
##3C125C1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#362436
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3c125c;
/* rgb */ color: rgb(60, 18, 92);
/* oklch */ color: oklch(29.4% 0.124 305.8);
Tailwind
colors: {
  custom: {
    50: '#76558b',
    500: '#3c125c',
    950: '#000000',
  },
}
SCSS
$custom: #3c125c;
$custom-light: #76558b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c125c",
  "rgb": {
    "r": 60,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 274.054,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29436,
    "c": 0.12434,
    "h": 305.8
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#3C125C
secondary
#5E9435
accent
#EA3E88
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C125C

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

Preview Lab → · Contrast checker → · Palette generator →

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