#3C0D60#3C0D60

#3C0D60 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.134 H 304.6°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#3C0D60
RGBrgb(60, 13, 96)
HSLhsl(274, 76%, 21%)
HSVhsv(274, 86%, 38%)
CMYKcmyk(37.5%, 86.5%, 0%, 62.4%)
CIE-LABlab(15.97, 37.82, -38.73)
CIE-LCHlch(15.97, 54.13, 314.32°)
OKLaboklab(29.29% 0.0762 -0.1105)
OKLCHoklch(29.29% 0.134 304.6)
XYZxyz(4.1182, 2.0931, 11.2511)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0D60 #31600D
analogous
#130D60 #3C0D60 #600D5B
triadic
#3C0D60 #603C0D #0D603C
tetradic
#3C0D60 #60130D #31600D #0D5B60
square
#3C0D60 #60130D #31600D #0D5B60
split-complementary
#3C0D60 #5B600D #0D6013
monochromatic
#11041B #1A062A #3C0D60 #5E1496 #7F1CCC

Accessibility & contrast

On white

14.80
#3C0D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0D60
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0D60#FFFFFF#000000##FFFFFF
##3C0D601.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#352437
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3c0d60;
/* rgb */ color: rgb(60, 13, 96);
/* oklch */ color: oklch(29.3% 0.134 304.6);
Tailwind
colors: {
  custom: {
    50: '#76538e',
    500: '#3c0d60',
    950: '#000000',
  },
}
SCSS
$custom: #3c0d60;
$custom-light: #76538e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0d60",
  "rgb": {
    "r": 60,
    "g": 13,
    "b": 96
  },
  "hsl": {
    "h": 273.976,
    "s": 76.147,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29291,
    "c": 0.13418,
    "h": 304.6
  },
  "luminance": 0.02093
}

Semantic roles & 50–950 ramp

primary
#3C0D60
secondary
#5D9A2F
accent
#F33587
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C0D60

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

Preview Lab → · Contrast checker → · Palette generator →

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