#3C0F54#3C0F54

#3C0F54 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.4% C 0.119 H 310.6°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#3C0F54
RGBrgb(60, 15, 84)
HSLhsl(279, 70%, 19%)
HSVhsv(279, 82%, 33%)
CMYKcmyk(28.6%, 82.1%, 0%, 67.1%)
CIE-LABlab(15.18, 34.04, -31.95)
CIE-LCHlch(15.18, 46.68, 316.82°)
OKLaboklab(28.41% 0.0776 -0.0905)
OKLCHoklch(28.41% 0.119 310.6)
XYZxyz(3.6342, 1.9425, 8.5693)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F54 #27540F
analogous
#190F54 #3C0F54 #540F4A
triadic
#3C0F54 #543C0F #0F543C
tetradic
#3C0F54 #54190F #27540F #0F4A54
square
#3C0F54 #54190F #27540F #0F4A54
split-complementary
#3C0F54 #4A540F #0F5419
monochromatic
#13051A #170620 #3C0F54 #611888 #8622BC

Accessibility & contrast

On white

15.13
#3C0F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3C0F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0F54
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F54#FFFFFF#000000##FFFFFF
##3C0F541.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#022753
Tritanopia (blue-blind)
#391F31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3c0f54;
/* rgb */ color: rgb(60, 15, 84);
/* oklch */ color: oklch(28.4% 0.119 310.6);
Tailwind
colors: {
  custom: {
    50: '#755385',
    500: '#3c0f54',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f54;
$custom-light: #755385;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f54",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 279.13,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28408,
    "c": 0.11922,
    "h": 310.6
  },
  "luminance": 0.01942
}

Semantic roles & 50–950 ramp

primary
#3C0F54
secondary
#518E31
accent
#ED3B79
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C0F54

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

Preview Lab → · Contrast checker → · Palette generator →

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