#3C0E5A#3C0E5A

#3C0E5A is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.127 H 307.5°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#3C0E5A
RGBrgb(60, 14, 90)
HSLhsl(276, 73%, 20%)
HSVhsv(276, 84%, 35%)
CMYKcmyk(33.3%, 84.4%, 0%, 64.7%)
CIE-LABlab(15.56, 35.93, -35.39)
CIE-LCHlch(15.56, 50.44, 315.43°)
OKLaboklab(28.83% 0.0771 -0.1006)
OKLCHoklch(28.83% 0.127 307.5)
XYZxyz(3.8656, 2.0130, 9.8558)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0E5A #2C5A0E
analogous
#160E5A #3C0E5A #5A0E52
triadic
#3C0E5A #5A3C0E #0E5A3C
tetradic
#3C0E5A #5A160E #2C5A0E #0E525A
square
#3C0E5A #5A160E #2C5A0E #0E525A
split-complementary
#3C0E5A #525A0E #0E5A16
monochromatic
#12041A #190625 #3C0E5A #5F168F #831EC4

Accessibility & contrast

On white

14.97
#3C0E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3C0E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0E5A
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0E5A#FFFFFF#000000##FFFFFF
##3C0E5A1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#372234
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3c0e5a;
/* rgb */ color: rgb(60, 14, 90);
/* oklch */ color: oklch(28.8% 0.127 307.5);
Tailwind
colors: {
  custom: {
    50: '#765389',
    500: '#3c0e5a',
    950: '#000000',
  },
}
SCSS
$custom: #3c0e5a;
$custom-light: #765389;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0e5a",
  "rgb": {
    "r": 60,
    "g": 14,
    "b": 90
  },
  "hsl": {
    "h": 276.316,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28833,
    "c": 0.12679,
    "h": 307.5
  },
  "luminance": 0.02013
}

Semantic roles & 50–950 ramp

primary
#3C0E5A
secondary
#579430
accent
#F03881
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C0E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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