#3C0F5F#3C0F5F

#3C0F5F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.131 H 304.8°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#3C0F5F
RGBrgb(60, 15, 95)
HSLhsl(274, 73%, 22%)
HSVhsv(274, 84%, 37%)
CMYKcmyk(36.8%, 84.2%, 0%, 62.7%)
CIE-LABlab(16.15, 36.78, -37.77)
CIE-LCHlch(16.15, 52.72, 314.23°)
OKLaboklab(29.39% 0.0748 -0.1076)
OKLCHoklch(29.39% 0.131 304.8)
XYZxyz(4.0994, 2.1286, 11.0191)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F5F #325F0F
analogous
#140F5F #3C0F5F #5F0F5A
triadic
#3C0F5F #5F3C0F #0F5F3C
tetradic
#3C0F5F #5F140F #325F0F #0F5A5F
square
#3C0F5F #5F140F #325F0F #0F5A5F
split-complementary
#3C0F5F #5A5F0F #0F5F14
monochromatic
#11041A #1B072A #3C0F5F #5D1794 #7F20C9

Accessibility & contrast

On white

14.73
#3C0F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0F5F
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F5F#FFFFFF#000000##FFFFFF
##3C0F5F1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c0f5f;
/* rgb */ color: rgb(60, 15, 95);
/* oklch */ color: oklch(29.4% 0.131 304.8);
Tailwind
colors: {
  custom: {
    50: '#76548d',
    500: '#3c0f5f',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f5f;
$custom-light: #76548d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f5f",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 273.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29388,
    "c": 0.13107,
    "h": 304.8
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#3C0F5F
secondary
#5E9832
accent
#EF3888
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C0F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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