#3C0E5B#3C0E5B

#3C0E5B is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.128 H 306.9°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#3C0E5B
RGBrgb(60, 14, 91)
HSLhsl(276, 73%, 21%)
HSVhsv(276, 85%, 36%)
CMYKcmyk(34.1%, 84.6%, 0%, 64.3%)
CIE-LABlab(15.64, 36.18, -35.92)
CIE-LCHlch(15.64, 50.98, 315.21°)
OKLaboklab(28.92% 0.0768 -0.1022)
OKLCHoklch(28.92% 0.128 306.9)
XYZxyz(3.9084, 2.0301, 10.0815)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0E5B #2D5B0E
analogous
#150E5B #3C0E5B #5B0E53
triadic
#3C0E5B #5B3C0E #0E5B3C
tetradic
#3C0E5B #5B150E #2D5B0E #0E535B
square
#3C0E5B #5B150E #2D5B0E #0E535B
split-complementary
#3C0E5B #535B0E #0E5B15
monochromatic
#11041B #190626 #3C0E5B #5F1690 #821EC5

Accessibility & contrast

On white

14.94
#3C0E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0E5B
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0E5B#FFFFFF#000000##FFFFFF
##3C0E5B1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#002759
Tritanopia (blue-blind)
#372235
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3c0e5b;
/* rgb */ color: rgb(60, 14, 91);
/* oklch */ color: oklch(28.9% 0.128 306.9);
Tailwind
colors: {
  custom: {
    50: '#76538a',
    500: '#3c0e5b',
    950: '#000000',
  },
}
SCSS
$custom: #3c0e5b;
$custom-light: #76538a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0e5b",
  "rgb": {
    "r": 60,
    "g": 14,
    "b": 91
  },
  "hsl": {
    "h": 275.844,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28923,
    "c": 0.12786,
    "h": 306.9
  },
  "luminance": 0.0203
}

Semantic roles & 50–950 ramp

primary
#3C0E5B
secondary
#599530
accent
#F03882
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C0E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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