#3C0F60#3C0F60

#3C0F60 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.5% C 0.132 H 304.3°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#3C0F60
RGBrgb(60, 15, 96)
HSLhsl(273, 73%, 22%)
HSVhsv(273, 84%, 38%)
CMYKcmyk(37.5%, 84.4%, 0%, 62.4%)
CIE-LABlab(16.24, 37.03, -38.29)
CIE-LCHlch(16.24, 53.27, 314.04°)
OKLaboklab(29.48% 0.0745 -0.1092)
OKLCHoklch(29.48% 0.132 304.3)
XYZxyz(4.1451, 2.1468, 11.2601)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F60 #33600F
analogous
#130F60 #3C0F60 #600F5C
triadic
#3C0F60 #603C0F #0F603C
tetradic
#3C0F60 #60130F #33600F #0F5C60
square
#3C0F60 #60130F #33600F #0F5C60
split-complementary
#3C0F60 #5C600F #0F6013
monochromatic
#11041A #1B072B #3C0F60 #5D1795 #7E20CA

Accessibility & contrast

On white

14.69
#3C0F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3C0F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0F60
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F60#FFFFFF#000000##FFFFFF
##3C0F601.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c0f60;
/* rgb */ color: rgb(60, 15, 96);
/* oklch */ color: oklch(29.5% 0.132 304.3);
Tailwind
colors: {
  custom: {
    50: '#76548e',
    500: '#3c0f60',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f60;
$custom-light: #76548e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f60",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 273.333,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.2948,
    "c": 0.13216,
    "h": 304.3
  },
  "luminance": 0.02147
}

Semantic roles & 50–950 ramp

primary
#3C0F60
secondary
#609932
accent
#F0388A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C0F60

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

Preview Lab → · Contrast checker → · Palette generator →

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