#3C0F58#3C0F58

#3C0F58 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.124 H 308.4°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#3C0F58
RGBrgb(60, 15, 88)
HSLhsl(277, 71%, 20%)
HSVhsv(277, 83%, 35%)
CMYKcmyk(31.8%, 83%, 0%, 65.5%)
CIE-LABlab(15.52, 35.02, -34.10)
CIE-LCHlch(15.52, 48.88, 315.77°)
OKLaboklab(28.76% 0.0767 -0.0968)
OKLCHoklch(28.76% 0.124 308.4)
XYZxyz(3.7954, 2.0069, 9.4181)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F58 #2B580F
analogous
#170F58 #3C0F58 #580F50
triadic
#3C0F58 #583C0F #0F583C
tetradic
#3C0F58 #58170F #2B580F #0F5058
square
#3C0F58 #58170F #2B580F #0F5058
split-complementary
#3C0F58 #50580F #0F5817
monochromatic
#12041A #180624 #3C0F58 #60188C #8321C1

Accessibility & contrast

On white

14.99
#3C0F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3C0F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0F58
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F58#FFFFFF#000000##FFFFFF
##3C0F581.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#002757
Tritanopia (blue-blind)
#382133
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3c0f58;
/* rgb */ color: rgb(60, 15, 88);
/* oklch */ color: oklch(28.8% 0.124 308.4);
Tailwind
colors: {
  custom: {
    50: '#755388',
    500: '#3c0f58',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f58;
$custom-light: #755388;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f58",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 276.986,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28756,
    "c": 0.12352,
    "h": 308.4
  },
  "luminance": 0.02007
}

Semantic roles & 50–950 ramp

primary
#3C0F58
secondary
#569231
accent
#EE3A7F
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C0F58

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

Preview Lab → · Contrast checker → · Palette generator →

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