#3C0D5D#3C0D5D

#3C0D5D is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.0% C 0.131 H 306.1°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#3C0D5D
RGBrgb(60, 13, 93)
HSLhsl(275, 75%, 21%)
HSVhsv(275, 86%, 36%)
CMYKcmyk(35.5%, 86%, 0%, 63.5%)
CIE-LABlab(15.69, 37.07, -37.19)
CIE-LCHlch(15.69, 52.51, 314.91°)
OKLaboklab(29.01% 0.0771 -0.1059)
OKLCHoklch(29.01% 0.131 306.1)
XYZxyz(3.9827, 2.0389, 10.5375)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0D5D #2E5D0D
analogous
#140D5D #3C0D5D #5D0D56
triadic
#3C0D5D #5D3C0D #0D5D3C
tetradic
#3C0D5D #5D140D #2E5D0D #0D565D
square
#3C0D5D #5D140D #2E5D0D #0D565D
split-complementary
#3C0D5D #565D0D #0D5D14
monochromatic
#11041B #190527 #3C0D5D #5F1593 #811CC8

Accessibility & contrast

On white

14.92
#3C0D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3C0D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0D5D
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0D5D#FFFFFF#000000##FFFFFF
##3C0D5D1.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#362236
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3c0d5d;
/* rgb */ color: rgb(60, 13, 93);
/* oklch */ color: oklch(29.0% 0.131 306.1);
Tailwind
colors: {
  custom: {
    50: '#76538c',
    500: '#3c0d5d',
    950: '#000000',
  },
}
SCSS
$custom: #3c0d5d;
$custom-light: #76538c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0d5d",
  "rgb": {
    "r": 60,
    "g": 13,
    "b": 93
  },
  "hsl": {
    "h": 275.25,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29011,
    "c": 0.13102,
    "h": 306.1
  },
  "luminance": 0.02039
}

Semantic roles & 50–950 ramp

primary
#3C0D5D
secondary
#5A972F
accent
#F23683
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C0D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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