#3C0E5D#3C0E5D

#3C0E5D is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.130 H 305.9°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#3C0E5D
RGBrgb(60, 14, 93)
HSLhsl(275, 74%, 21%)
HSVhsv(275, 85%, 36%)
CMYKcmyk(35.5%, 84.9%, 0%, 63.5%)
CIE-LABlab(15.83, 36.68, -36.97)
CIE-LCHlch(15.83, 52.08, 314.78°)
OKLaboklab(29.11% 0.0763 -0.1053)
OKLCHoklch(29.11% 0.13 305.9)
XYZxyz(3.9959, 2.0651, 10.5419)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0E5D #2F5D0E
analogous
#140E5D #3C0E5D #5D0E56
triadic
#3C0E5D #5D3C0E #0E5D3C
tetradic
#3C0E5D #5D140E #2F5D0E #0E565D
square
#3C0E5D #5D140E #2F5D0E #0E565D
split-complementary
#3C0E5D #565D0E #0E5D14
monochromatic
#11041B #1A0628 #3C0E5D #5E1692 #811EC7

Accessibility & contrast

On white

14.86
#3C0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0E5D
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0E5D#FFFFFF#000000##FFFFFF
##3C0E5D1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c0e5d;
/* rgb */ color: rgb(60, 14, 93);
/* oklch */ color: oklch(29.1% 0.130 305.9);
Tailwind
colors: {
  custom: {
    50: '#76538c',
    500: '#3c0e5d',
    950: '#000000',
  },
}
SCSS
$custom: #3c0e5d;
$custom-light: #76538c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0e5d",
  "rgb": {
    "r": 60,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 274.937,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29106,
    "c": 0.12999,
    "h": 305.9
  },
  "luminance": 0.02065
}

Semantic roles & 50–950 ramp

primary
#3C0E5D
secondary
#5B9730
accent
#F03785
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C0E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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