#3C0F5D#3C0F5D

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

Color values

HEX#3C0F5D
RGBrgb(60, 15, 93)
HSLhsl(275, 72%, 21%)
HSVhsv(275, 84%, 36%)
CMYKcmyk(35.5%, 83.9%, 0%, 63.5%)
CIE-LABlab(15.97, 36.27, -36.74)
CIE-LCHlch(15.97, 51.62, 314.64°)
OKLaboklab(29.2% 0.0754 -0.1046)
OKLCHoklch(29.2% 0.129 305.8)
XYZxyz(4.0096, 2.0927, 10.5465)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F5D #305D0F
analogous
#150F5D #3C0F5D #5D0F57
triadic
#3C0F5D #5D3C0F #0F5D3C
tetradic
#3C0F5D #5D150F #305D0F #0F575D
square
#3C0F5D #5D150F #305D0F #0F575D
split-complementary
#3C0F5D #575D0F #0F5D15
monochromatic
#11041A #1A0628 #3C0F5D #5E1792 #8020C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C0F5D#FFFFFF#000000##FFFFFF
##3C0F5D1.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)
#00265F
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#362336
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3c0f5d;
/* rgb */ color: rgb(60, 15, 93);
/* oklch */ color: oklch(29.2% 0.129 305.8);
Tailwind
colors: {
  custom: {
    50: '#76538c',
    500: '#3c0f5d',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f5d;
$custom-light: #76538c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f5d",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 93
  },
  "hsl": {
    "h": 274.615,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29204,
    "c": 0.12891,
    "h": 305.8
  },
  "luminance": 0.02093
}

Semantic roles & 50–950 ramp

primary
#3C0F5D
secondary
#5C9631
accent
#EF3986
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C0F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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