#3C0D5F#3C0D5F

#3C0D5F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.133 H 305.1°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#3C0D5F
RGBrgb(60, 13, 95)
HSLhsl(274, 76%, 21%)
HSVhsv(274, 86%, 37%)
CMYKcmyk(36.8%, 86.3%, 0%, 62.7%)
CIE-LABlab(15.88, 37.57, -38.22)
CIE-LCHlch(15.88, 53.59, 314.51°)
OKLaboklab(29.2% 0.0765 -0.1089)
OKLCHoklch(29.2% 0.133 305.1)
XYZxyz(4.0725, 2.0748, 11.0102)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0D5F #305F0D
analogous
#130D5F #3C0D5F #5F0D59
triadic
#3C0D5F #5F3C0D #0D5F3C
tetradic
#3C0D5F #5F130D #305F0D #0D595F
square
#3C0D5F #5F130D #305F0D #0D595F
split-complementary
#3C0D5F #595F0D #0D5F13
monochromatic
#11041B #1A0629 #3C0D5F #5E1495 #801CCB

Accessibility & contrast

On white

14.84
#3C0D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3C0D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0D5F
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0D5F#FFFFFF#000000##FFFFFF
##3C0D5F1.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#352337
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3c0d5f;
/* rgb */ color: rgb(60, 13, 95);
/* oklch */ color: oklch(29.2% 0.133 305.1);
Tailwind
colors: {
  custom: {
    50: '#76538d',
    500: '#3c0d5f',
    950: '#000000',
  },
}
SCSS
$custom: #3c0d5f;
$custom-light: #76538d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0d5f",
  "rgb": {
    "r": 60,
    "g": 13,
    "b": 95
  },
  "hsl": {
    "h": 274.39,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29197,
    "c": 0.13313,
    "h": 305.1
  },
  "luminance": 0.02075
}

Semantic roles & 50–950 ramp

primary
#3C0D5F
secondary
#5C992F
accent
#F33586
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C0D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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