#3C0F5E#3C0F5E

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

Color values

HEX#3C0F5E
RGBrgb(60, 15, 94)
HSLhsl(274, 72%, 21%)
HSVhsv(274, 84%, 37%)
CMYKcmyk(36.2%, 84%, 0%, 63.1%)
CIE-LABlab(16.06, 36.52, -37.26)
CIE-LCHlch(16.06, 52.17, 314.43°)
OKLaboklab(29.3% 0.0751 -0.1061)
OKLCHoklch(29.3% 0.13 305.3)
XYZxyz(4.0542, 2.1105, 10.7813)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F5E #315E0F
analogous
#150F5E #3C0F5E #5E0F59
triadic
#3C0F5E #5E3C0F #0F5E3C
tetradic
#3C0F5E #5E150F #315E0F #0F595E
square
#3C0F5E #5E150F #315E0F #0F595E
split-complementary
#3C0F5E #595E0F #0F5E15
monochromatic
#11041A #1A0729 #3C0F5E #5E1793 #7F20C8

Accessibility & contrast

On white

14.77
#3C0F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0F5E
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F5E#FFFFFF#000000##FFFFFF
##3C0F5E1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#362436
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3c0f5e;
/* rgb */ color: rgb(60, 15, 94);
/* oklch */ color: oklch(29.3% 0.130 305.3);
Tailwind
colors: {
  custom: {
    50: '#76548c',
    500: '#3c0f5e',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f5e;
$custom-light: #76548c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f5e",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 274.177,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29296,
    "c": 0.13,
    "h": 305.3
  },
  "luminance": 0.0211
}

Semantic roles & 50–950 ramp

primary
#3C0F5E
secondary
#5D9731
accent
#EF3987
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C0F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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