#3C0E56#3C0E56

#3C0E56 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.5% C 0.123 H 309.6°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#3C0E56
RGBrgb(60, 14, 86)
HSLhsl(278, 72%, 20%)
HSVhsv(278, 84%, 34%)
CMYKcmyk(30.2%, 83.7%, 0%, 66.3%)
CIE-LABlab(15.21, 34.95, -33.27)
CIE-LCHlch(15.21, 48.25, 316.42°)
OKLaboklab(28.48% 0.0781 -0.0944)
OKLCHoklch(28.48% 0.123 309.6)
XYZxyz(3.6999, 1.9467, 8.9831)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0E56 #28560E
analogous
#180E56 #3C0E56 #560E4C
triadic
#3C0E56 #563C0E #0E563C
tetradic
#3C0E56 #56180E #28560E #0E4C56
square
#3C0E56 #56180E #28560E #0E4C56
split-complementary
#3C0E56 #4C560E #0E5618
monochromatic
#12041A #170521 #3C0E56 #61178B #851FBF

Accessibility & contrast

On white

15.11
#3C0E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3C0E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0E56
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0E56#FFFFFF#000000##FFFFFF
##3C0E561.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#382032
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3c0e56;
/* rgb */ color: rgb(60, 14, 86);
/* oklch */ color: oklch(28.5% 0.123 309.6);
Tailwind
colors: {
  custom: {
    50: '#755386',
    500: '#3c0e56',
    950: '#000000',
  },
}
SCSS
$custom: #3c0e56;
$custom-light: #755386;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0e56",
  "rgb": {
    "r": 60,
    "g": 14,
    "b": 86
  },
  "hsl": {
    "h": 278.333,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28478,
    "c": 0.12253,
    "h": 309.6
  },
  "luminance": 0.01947
}

Semantic roles & 50–950 ramp

primary
#3C0E56
secondary
#529030
accent
#EF397B
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C0E56

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

Preview Lab → · Contrast checker → · Palette generator →

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